mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-22 07:39:49 +00:00
1 line
56 KiB
Plaintext
1 line
56 KiB
Plaintext
|
{"version":3,"sources":["generators/python.js","generators/python/colour.js","generators/python/lists.js","generators/python/logic.js","generators/python/loops.js","generators/python/math.js","generators/python/procedures.js","generators/python/text.js","generators/python/variables.js","generators/python/variables_dynamic.js"],"names":["Blockly","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","Blockly.Python.init","workspace","PASS","INDENT","definitions_","Object","create","functionNames_","variableDB_","reset","Names","RESERVED_WORDS_","setVariableMap","getVariableMap","defvars","devVarList","Variables","allDeveloperVariables","i","length","push","getName","DEVELOPER_VARIABLE_TYPE","variables","allUsedVarModels","getId","VARIABLE_CATEGORY_NAME","join","finish","Blockly.Python.finish","code","imports","definitions","name","def","match","replace","scrubNakedValue","Blockly.Python.scrubNakedValue","line","quote_","Blockly.Python.quote_","string","quote","indexOf","multiline_quote_","Blockly.Python.multiline_quote_","split","lines","map","scrub_","Blockly.Python.scrub_","block","opt_thisOnly","commentCode","outputConnection","targetConnection","comment","getCommentText","utils","wrap","COMMENT_WRAP","prefixLines","inputList","type","INPUT_VALUE","childBlock","connection","targetBlock","allNestedComments","nextBlock","nextConnection","nextCode","blockToCode","getAdjustedInt","Blockly.Python.getAdjustedInt","atId","opt_delta","opt_negate","delta","options","oneBasedIndex","defaultAtIndex","at","valueToCode","atOrder","isNumber","parseInt","getFieldValue","functionName","provideFunction_","FUNCTION_NAME_PLACEHOLDER_","r","g","b","colour1","colour2","ratio","elements","Array","itemCount_","item","times","list","errorIndex","firstIndexAdjustment","lastIndexAdjustment","mode","where","listOrder","Error","value","listVar","getDistinctName","xVar","where1","where2","at1","at2","String","reverse","sortFunctionName","value_input","value_delim","n","STATEMENT_PREFIX","injectId","conditionCode","branchCode","statementToCode","STATEMENT_SUFFIX","getInput","operator","OPERATORS","order","argument0","argument1","defaultArgument","value_if","value_then","value_else","repeats","getField","branch","addLoopTrap","loopVar","until","variable0","increment","defineUpRange","defineDownRange","generateUpDownRange","start","end","inc","Number","Math","abs","range","scrub","arg","suffix","varName","startVar","endVar","incVar","xfix","loop","Constants","Loops","CONTROL_FLOW_IN_LOOP_CHECK_MIXIN","getSurroundLoop","suppressPrefixSuffix","Infinity","tuple","CONSTANTS","constant","number_to_check","dropdown_property","divisor","func","argument2","globals","variable","getVars","funcName","PROCEDURE_CATEGORY_NAME","xfix1","loopTrap","INFINITE_LOOP_TRAP","returnValue","xfix2","args","hasReturnValue_","text","forceString_","Blockly.Python.text.forceString_","strRegExp","test","element","codeAndOrder","element0","element1","tempVar","substring","textOrder","msg","sub","from","to"],"mappings":"A;;;;;;;;;;;;eAsBAA,OAAA,CAAQC,MAAR,CAAiB,IAAID,OAAJ,CAAYE,SAAZ,CAAsB,QAAtB,CASjBF,QAAA,CAAQC,MAAR,CAAeE,gBAAf,CAKI,u5DALJ,CA8CAH;OAAA,CAAQC,MAAR,CAAeG,YAAf,CAA8B,CAC9BJ,QAAA,CAAQC,MAAR,CAAeI,gBAAf,CAAkC,CAClCL,QAAA,CAAQC,MAAR,CAAeK,uBAAf,CAAyC,CACzCN,QAAA,CAAQC,MAAR,CAAeM,YAAf,CAA8B,GAC9BP,QAAA,CAAQC,MAAR,CAAeO,mBAAf,CAAqC,GACrCR,QAAA,CAAQC,MAAR,CAAeQ,oBAAf,CAAsC,CACtCT,QAAA,CAAQC,MAAR,CAAeS,gBAAf,CAAkC,CAClCV,QAAA,CAAQC,MAAR,CAAeU,iBAAf,CAAmC,CACnCX,QAAA,CAAQC,MAAR,CAAeW,oBAAf,CAAsC,CACtCZ,QAAA,CAAQC,MAAR,CAAeY,cAAf,CAAgC,CAChCb,QAAA,CAAQC,MAAR,CAAea,mBAAf,CAAqC,CACrCd,QAAA,CAAQC,MAAR,CAAec,iBAAf,CAAmC,CACnCf,QAAA,CAAQC,MAAR,CAAee,iBAAf,
|