mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-25 17:09:48 +00:00
1 line
60 KiB
Plaintext
1 line
60 KiB
Plaintext
|
{"version":3,"sources":["generators/javascript.js","generators/javascript/colour.js","generators/javascript/lists.js","generators/javascript/logic.js","generators/javascript/loops.js","generators/javascript/math.js","generators/javascript/procedures.js","generators/javascript/text.js","generators/javascript/variables.js","generators/javascript/variables_dynamic.js"],"names":["Blockly","JavaScript","Generator","addReservedWords","Object","getOwnPropertyNames","utils","global","join","ORDER_ATOMIC","ORDER_NEW","ORDER_MEMBER","ORDER_FUNCTION_CALL","ORDER_INCREMENT","ORDER_DECREMENT","ORDER_BITWISE_NOT","ORDER_UNARY_PLUS","ORDER_UNARY_NEGATION","ORDER_LOGICAL_NOT","ORDER_TYPEOF","ORDER_VOID","ORDER_DELETE","ORDER_AWAIT","ORDER_EXPONENTIATION","ORDER_MULTIPLICATION","ORDER_DIVISION","ORDER_MODULUS","ORDER_SUBTRACTION","ORDER_ADDITION","ORDER_BITWISE_SHIFT","ORDER_RELATIONAL","ORDER_IN","ORDER_INSTANCEOF","ORDER_EQUALITY","ORDER_BITWISE_AND","ORDER_BITWISE_XOR","ORDER_BITWISE_OR","ORDER_LOGICAL_AND","ORDER_LOGICAL_OR","ORDER_CONDITIONAL","ORDER_ASSIGNMENT","ORDER_YIELD","ORDER_COMMA","ORDER_NONE","ORDER_OVERRIDES","isInitialized","init","Blockly.JavaScript.init","workspace","definitions_","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","finish","Blockly.JavaScript.finish","code","definitions","name","scrubNakedValue","Blockly.JavaScript.scrubNakedValue","line","quote_","Blockly.JavaScript.quote_","string","replace","multiline_quote_","Blockly.JavaScript.multiline_quote_","split","lines","map","scrub_","Blockly.JavaScript.scrub_","block","opt_thisOnly","commentCode","outputConnection","targetConnection","comment","getCommentText","wrap","COMMENT_WRAP","prefixLines","inputList","type","INPUT_VALUE","childBlock","connection","targetBlock","allNestedComments","nextBlock","nextConnection","nextCode","blockToCode","getAdjusted","Blockly.JavaScript.getAdjusted","atId","opt_delta","opt_negate","opt_order","delta","order","options","oneBasedIndex","defaultAtIndex","at","valueToCode","isNumber","Number","innerOrder","Math","floor","getFieldValue","functionName","provideFunction_","FUNCTION_NAME_PLACEHOLDER_","red","green","blue","c1","c2","ratio","elements","Array","itemCount_","element","repeatCount","operator","item","mode","where","list","listOrder","Error","cacheList","match","listVar","getDistinctName","value","xVar","lists","getIndex_","Blockly.JavaScript.lists.getIndex_","listName","opt_at","where1","where2","at1","at2","wherePascalCase","direction","getCompareFunctionName","input","delimiter","n","STATEMENT_PREFIX","injectId","conditionCode","branchCode","statementToCode","STATEMENT_SUFFIX","INDENT","getInput","OPERATORS","argument0","argument1","defaultArgument","value_if","value_then","value_else","repeats","getField","String","branch","addLoopTrap","loopVar","endVar","until","variable0","increment","up","step","abs","startVar","incVar","indexVar","xfix","loop","Constants","Loops","CONTROL_FLOW_IN_LOOP_CHECK_MIXIN","getSurroundLoop","suppressPrefixSuffix","tuple","arg","CONSTANTS","number_to_check","dropdown_property","divisor","varName","func","argument2","funcName","PROCEDURE_CATEGORY_NAME","xfix1","loopTrap","INFINITE_LOOP_TRAP","returnValue","xfix2","args","getVars","hasReturnValue_","indexOf","text","forceString_","Blockly.JavaScript.text.forceString_","strRegExp","test","codeAndOrder","element0","element1","substring","textOrder","Blockly.JavaScript.text.getIndex_","stringName","requiresLengthCall","msg","sub","from","to"],"mappings":"A;;;;;;;;;;;;eAuBAA,OAAA,CAAQC,UAAR,CAAqB,IAAID,OAAJ,CAAYE,SAAZ,CAAsB,YAAtB,CASrBF,QAAA,CAAQC,UAAR,CAAmBE,gBAAnB,CAEI,kTAFJ,CAUIC,MAAA,CAAOC,mBAAP,CAA2BL,OAA3B,CAAmCM,KAAnC,CAAyCC,MAAzC,CAAA,CAAiDC,IAAjD,CAAsD,GAAtD,CAVJ,CAgBAR;OAAA,CAAQC,UAAR,CAAmBQ,YAAnB,CAAkC,CAClCT,QAAA,CAAQC,UAAR,CAAmBS,SAAnB,CAA+B,GAC/BV,QAAA,CAAQC,UAAR,CAAmBU,YAAnB,CAAkC,GAClCX,QAA
|