2022-06-07 11:14:29 +00:00
|
|
|
{"version":3,"sources":["generators/python.js","generators/python/variables.js","generators/python/variables_dynamic.js","generators/python/text.js","generators/python/procedures.js","generators/python/math.js","generators/python/loops.js","generators/python/logic.js","generators/python/lists.js","generators/python/colour.js","generators/python/all.js"],"names":["Python","Generator","addReservedWords","ORDER_ATOMIC","ORDER_COLLECTION","ORDER_STRING_CONVERSION","ORDER_MEMBER","ORDER_FUNCTION_CALL","ORDER_EXPONENTIATION","ORDER_UNARY_SIGN","ORDER_BITWISE_NOT","ORDER_MULTIPLICATIVE","ORDER_ADDITIVE","ORDER_BITWISE_SHIFT","ORDER_BITWISE_AND","ORDER_BITWISE_XOR","ORDER_BITWISE_OR","ORDER_RELATIONAL","ORDER_LOGICAL_NOT","ORDER_LOGICAL_AND","ORDER_LOGICAL_OR","ORDER_CONDITIONAL","ORDER_LAMBDA","ORDER_NONE","ORDER_OVERRIDES","isInitialized","init","Python.init","workspace","Object","getPrototypeOf","call","PASS","INDENT","nameDB_","reset","Names","RESERVED_WORDS_","setVariableMap","getVariableMap","populateVariables","populateProcedures","defvars","devVarList","Variables","allDeveloperVariables","i","length","push","getName","DEVELOPER_VARIABLE_TYPE","variables","allUsedVarModels","getId","NameType","VARIABLE","definitions_","join","finish","Python.finish","code","imports","definitions","name","def","match","replace","scrubNakedValue","Python.scrubNakedValue","line","quote_","Python.quote_","string","quote","indexOf","multiline_quote_","Python.multiline_quote_","split","map","lines","scrub_","Python.scrub_","block","opt_thisOnly","commentCode","outputConnection","targetConnection","comment","getCommentText","stringUtils","wrap","COMMENT_WRAP","prefixLines","inputList","type","inputTypes","VALUE","childBlock","connection","targetBlock","allNestedComments","nextBlock","nextConnection","nextCode","blockToCode","getAdjustedInt","Python.getAdjustedInt","atId","opt_delta","opt_negate","delta","options","oneBasedIndex","defaultAtIndex","at","valueToCode","atOrder","isNumber","parseInt","exports","getFieldValue","argument0","varName","order","strRegExp","forceString","value","test","itemCount_","element","codeAndOrder","element0","element1","elements","tempVar","getDistinctName","operator","substring","where","text","textOrder","provideFunction_","functionName","FUNCTION_NAME_PLACEHOLDER_","Error","where1","where2","at1","at2","String","OPERATORS","msg","getField","sub","from","to","globals","usedVariables","variable","getVars","DEVELOPER_VARIABLE","globalString","funcName","PROCEDURE","xfix1","STATEMENT_PREFIX","injectId","STATEMENT_SUFFIX","loopTrap","INFINITE_LOOP_TRAP","branch","statementToCode","returnValue","xfix2","args","tuple","hasReturnValue_","Number","Infinity","argument1","arg","CONSTANTS","constant","PROPERTIES","dropdownProperty","suffix","inputOrder","outputOrder","numberToCheck","divisor","func","list","argument2","repeats","addLoopTrap","loopVar","until","variable0","increment","defineUpRange","defineDownRange","Math","abs","range","scrub","startVar","endVar","incVar","xfix","loop","getSurroundLoop","suppressPrefixSuffix","n","conditionCode","branchCode","getInput","defaultArgument","value_if","value_then","value_else","Array","item","times","errorIndex","firstIndexAdjustment","lastIndexAdjustment","mode","listOrder","listVar","xVar","reverse","sortFunctionName","value_input","value_delim","r","g","b","colour1","colour2","ratio"],"mappings":"A;;;;;;;;;;;;;;AA4BA,IAAMA,sCAAS,IAAIC,CAAAA,CAAAA,gCAAAA,CAAAA,SAAJ,CAAc,QAAd,CAQfD,sCAAOE,CAAAA,gBAAP,CAKI,u5DALJ,CA6CAF;qCAAOG,CAAAA,YAAP,CAAsB,CACtBH,sCAAOI,CAAAA,gBAAP,CAA0B,CAC1BJ,sCAAOK,CAAAA,uBAAP,CAAiC,CACjCL,sCAAOM,CAAAA,YAAP,CAAsB,GACtBN,sCAAOO,CAAAA,mBAAP,CAA6B,GAC7BP,sCAAOQ,CAAAA,oBAAP,CAA8B,CAC9BR,sCAAOS,CAAAA,gBAAP,CAA0B,CAC1BT,sCAAOU,CAAAA,iBAAP,CAA2B,CAC3BV;qCAAOW,CAAAA,oBAAP,CAA8B,CAC9BX,sCAAOY,CAAAA,cAAP,CAAwB,CACxBZ,sCAAOa,CAAAA,mBAAP,CAA6B,CAC7Bb,sCAAOc,CAAAA,iBAAP,CAA2B,CAC3Bd,sCAAOe,CAAAA,iBAAP,CAA2B,CAC3Bf,sCAAOgB,CAAAA,gBAAP,CAA0B,EAC1BhB,sCAAOiB,CAAAA,gBAAP,CAA0B,EAE1BjB,sCAAOkB,CAAAA,iBAAP,CAA2B,EAC3BlB;qCAAOmB,CAAAA,iBAAP,CAA2B,EAC3BnB,sCAAOoB,CAAAA,gBA
|