diff --git a/tests/languages/ada/punctuation_feature.test b/tests/languages/ada/punctuation_feature.test new file mode 100644 index 0000000000..46bf069344 --- /dev/null +++ b/tests/languages/ada/punctuation_feature.test @@ -0,0 +1,14 @@ +. .. +, ; ( ) : + +---------------------------------------------------- + +[ + ["punctuation", "."], + ["punctuation", ".."], + ["punctuation", ","], + ["punctuation", ";"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ":"] +] diff --git a/tests/languages/applescript/punctuation_feature.test b/tests/languages/applescript/punctuation_feature.test new file mode 100644 index 0000000000..183ea153e7 --- /dev/null +++ b/tests/languages/applescript/punctuation_feature.test @@ -0,0 +1,18 @@ +{ } ( ) : , +¬ « » 《 》 + +---------------------------------------------------- + +[ + ["punctuation", "{"], + ["punctuation", "}"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ":"], + ["punctuation", ","], + ["punctuation", "¬"], + ["punctuation", "«"], + ["punctuation", "»"], + ["punctuation", "《"], + ["punctuation", "》"] +] diff --git a/tests/languages/aql/boolean_feature.test b/tests/languages/aql/boolean_feature.test new file mode 100644 index 0000000000..6d5c41a781 --- /dev/null +++ b/tests/languages/aql/boolean_feature.test @@ -0,0 +1,13 @@ +true +false +TRUE +FALSE + +---------------------------------------------------- + +[ + ["boolean", "true"], + ["boolean", "false"], + ["boolean", "TRUE"], + ["boolean", "FALSE"] +] diff --git a/tests/languages/arduino/builtin_feature.test b/tests/languages/arduino/builtin_feature.test new file mode 100644 index 0000000000..29bf7785b7 --- /dev/null +++ b/tests/languages/arduino/builtin_feature.test @@ -0,0 +1,667 @@ +KeyboardController +MouseController +SoftwareSerial +EthernetServer +EthernetClient +LiquidCrystal +LiquidCrystal_I2C +RobotControl +GSMVoiceCall +EthernetUDP +EsploraTFT +HttpClient +RobotMotor +WiFiClient +GSMScanner +FileSystem +Scheduler +GSMServer +YunClient +YunServer +IPAddress +GSMClient +GSMModem +Keyboard +Ethernet +Console +GSMBand +Esplora +Stepper +Process +WiFiUDP +GSM_SMS +Mailbox +USBHost +Firmata +PImage +Client +Server +GSMPIN +FileIO +Bridge +Serial +EEPROM +Stream +Mouse +Audio +Servo +File +Task +GPRS +WiFi +Wire +TFT +GSM +SPI +SD +runShellCommandAsynchronously +analogWriteResolution +retrieveCallingNumber +printFirmwareVersion +analogReadResolution +sendDigitalPortPair +noListenOnLocalhost +readJoystickButton +setFirmwareVersion +readJoystickSwitch +scrollDisplayRight +getVoiceCallStatus +scrollDisplayLeft +writeMicroseconds +delayMicroseconds +beginTransmission +getSignalStrength +runAsynchronously +getAsynchronously +listenOnLocalhost +getCurrentCarrier +readAccelerometer +messageAvailable +sendDigitalPorts +lineFollowConfig +countryNameWrite +runShellCommand +readStringUntil +rewindDirectory +readTemperature +setClockDivider +readLightSensor +endTransmission +analogReference +detachInterrupt +countryNameRead +attachInterrupt +encryptionType +readBytesUntil +robotNameWrite +readMicrophone +robotNameRead +cityNameWrite +userNameWrite +readJoystickY +readJoystickX +mouseReleased +openNextFile +scanNetworks +noInterrupts +digitalWrite +beginSpeaker +mousePressed +isActionDone +mouseDragged +displayLogos +noAutoscroll +addParameter +remoteNumber +getModifiers +keyboardRead +userNameRead +waitContinue +processInput +parseCommand +printVersion +readNetworks +writeMessage +blinkVersion +cityNameRead +readMessage +setDataMode +parsePacket +isListening +setBitOrder +beginPacket +isDirectory +motorsWrite +drawCompass +digitalRead +clearScreen +serialEvent +rightToLeft +setTextSize +leftToRight +requestFrom +keyReleased +compassRead +analogWrite +interrupts +WiFiServer +disconnect +playMelody +parseFloat +autoscroll +getPINUsed +setPINUsed +setTimeout +sendAnalog +readSlider +analogRead +beginWrite +createChar +motorsStop +keyPressed +tempoWrite +readButton +subnetMask +debugPrint +macAddress +writeGreen +randomSeed +attachGPRS +readString +sendString +remotePort +releaseAll +mouseMoved +background +getXChange +getYChange +answerCall +getResult +voiceCall +endPacket +constrain +getSocket +writeJSON +getButton +available +connected +findUntil +readBytes +exitValue +readGreen +writeBlue +startLoop +isPressed +sendSysex +pauseMode +gatewayIP +setCursor +getOemKey +tuneWrite +noDisplay +loadImage +switchPIN +onRequest +onReceive +changePIN +playFile +noBuffer +parseInt +overflow +checkPIN +knobRead +beginTFT +bitClear +updateIR +bitWrite +position +writeRGB +highByte +writeRed +setSpeed +readBlue +noStroke +remoteIP +transfer +shutdown +hangCall +beginSMS +endWrite +attached +maintain +noCursor +checkReg +checkPUK +shiftOut +isValid +shiftIn +pulseIn +connect +println +localIP +pinMode +getIMEI +display +noBlink +process +getBand +running +beginSD +drawBMP +lowByte +setBand +release +bitRead +prepare +pointTo +readRed +setMode +noFill +remove +listen +stroke +detach +attach +noTone +exists +buffer +height +bitSet +circle +config +cursor +random +IRread +setDNS +endSMS +getKey +micros +millis +begin +print +write +ready +flush +width +isPIN +blink +clear +press +mkdir +rmdir +close +point +yield +image +BSSID +click +delay +read +text +move +peek +beep +rect +line +open +seek +fill +size +turn +stop +home +find +step +tone +sqrt +RSSI +SSID +end +bit +tan +cos +sin +pow +map +abs +max +min +get +run +put + +---------------------------------------------------- + +[ + ["builtin", "KeyboardController"], + ["builtin", "MouseController"], + ["builtin", "SoftwareSerial"], + ["builtin", "EthernetServer"], + ["builtin", "EthernetClient"], + ["builtin", "LiquidCrystal"], + ["builtin", "LiquidCrystal_I2C"], + ["builtin", "RobotControl"], + ["builtin", "GSMVoiceCall"], + ["builtin", "EthernetUDP"], + ["builtin", "EsploraTFT"], + ["builtin", "HttpClient"], + ["builtin", "RobotMotor"], + ["builtin", "WiFiClient"], + ["builtin", "GSMScanner"], + ["builtin", "FileSystem"], + ["builtin", "Scheduler"], + ["builtin", "GSMServer"], + ["builtin", "YunClient"], + ["builtin", "YunServer"], + ["builtin", "IPAddress"], + ["builtin", "GSMClient"], + ["builtin", "GSMModem"], + ["builtin", "Keyboard"], + ["builtin", "Ethernet"], + ["builtin", "Console"], + ["builtin", "GSMBand"], + ["builtin", "Esplora"], + ["builtin", "Stepper"], + ["builtin", "Process"], + ["builtin", "WiFiUDP"], + ["builtin", "GSM_SMS"], + ["builtin", "Mailbox"], + ["builtin", "USBHost"], + ["builtin", "Firmata"], + ["builtin", "PImage"], + ["builtin", "Client"], + ["builtin", "Server"], + ["builtin", "GSMPIN"], + ["builtin", "FileIO"], + ["builtin", "Bridge"], + ["builtin", "Serial"], + ["builtin", "EEPROM"], + ["builtin", "Stream"], + ["builtin", "Mouse"], + ["builtin", "Audio"], + ["builtin", "Servo"], + ["builtin", "File"], + ["builtin", "Task"], + ["builtin", "GPRS"], + ["builtin", "WiFi"], + ["builtin", "Wire"], + ["builtin", "TFT"], + ["builtin", "GSM"], + ["builtin", "SPI"], + ["builtin", "SD"], + ["builtin", "runShellCommandAsynchronously"], + ["builtin", "analogWriteResolution"], + ["builtin", "retrieveCallingNumber"], + ["builtin", "printFirmwareVersion"], + ["builtin", "analogReadResolution"], + ["builtin", "sendDigitalPortPair"], + ["builtin", "noListenOnLocalhost"], + ["builtin", "readJoystickButton"], + ["builtin", "setFirmwareVersion"], + ["builtin", "readJoystickSwitch"], + ["builtin", "scrollDisplayRight"], + ["builtin", "getVoiceCallStatus"], + ["builtin", "scrollDisplayLeft"], + ["builtin", "writeMicroseconds"], + ["builtin", "delayMicroseconds"], + ["builtin", "beginTransmission"], + ["builtin", "getSignalStrength"], + ["builtin", "runAsynchronously"], + ["builtin", "getAsynchronously"], + ["builtin", "listenOnLocalhost"], + ["builtin", "getCurrentCarrier"], + ["builtin", "readAccelerometer"], + ["builtin", "messageAvailable"], + ["builtin", "sendDigitalPorts"], + ["builtin", "lineFollowConfig"], + ["builtin", "countryNameWrite"], + ["builtin", "runShellCommand"], + ["builtin", "readStringUntil"], + ["builtin", "rewindDirectory"], + ["builtin", "readTemperature"], + ["builtin", "setClockDivider"], + ["builtin", "readLightSensor"], + ["builtin", "endTransmission"], + ["builtin", "analogReference"], + ["builtin", "detachInterrupt"], + ["builtin", "countryNameRead"], + ["builtin", "attachInterrupt"], + ["builtin", "encryptionType"], + ["builtin", "readBytesUntil"], + ["builtin", "robotNameWrite"], + ["builtin", "readMicrophone"], + ["builtin", "robotNameRead"], + ["builtin", "cityNameWrite"], + ["builtin", "userNameWrite"], + ["builtin", "readJoystickY"], + ["builtin", "readJoystickX"], + ["builtin", "mouseReleased"], + ["builtin", "openNextFile"], + ["builtin", "scanNetworks"], + ["builtin", "noInterrupts"], + ["builtin", "digitalWrite"], + ["builtin", "beginSpeaker"], + ["builtin", "mousePressed"], + ["builtin", "isActionDone"], + ["builtin", "mouseDragged"], + ["builtin", "displayLogos"], + ["builtin", "noAutoscroll"], + ["builtin", "addParameter"], + ["builtin", "remoteNumber"], + ["builtin", "getModifiers"], + ["builtin", "keyboardRead"], + ["builtin", "userNameRead"], + ["builtin", "waitContinue"], + ["builtin", "processInput"], + ["builtin", "parseCommand"], + ["builtin", "printVersion"], + ["builtin", "readNetworks"], + ["builtin", "writeMessage"], + ["builtin", "blinkVersion"], + ["builtin", "cityNameRead"], + ["builtin", "readMessage"], + ["builtin", "setDataMode"], + ["builtin", "parsePacket"], + ["builtin", "isListening"], + ["builtin", "setBitOrder"], + ["builtin", "beginPacket"], + ["builtin", "isDirectory"], + ["builtin", "motorsWrite"], + ["builtin", "drawCompass"], + ["builtin", "digitalRead"], + ["builtin", "clearScreen"], + ["builtin", "serialEvent"], + ["builtin", "rightToLeft"], + ["builtin", "setTextSize"], + ["builtin", "leftToRight"], + ["builtin", "requestFrom"], + ["builtin", "keyReleased"], + ["builtin", "compassRead"], + ["builtin", "analogWrite"], + ["builtin", "interrupts"], + ["builtin", "WiFiServer"], + ["builtin", "disconnect"], + ["builtin", "playMelody"], + ["builtin", "parseFloat"], + ["builtin", "autoscroll"], + ["builtin", "getPINUsed"], + ["builtin", "setPINUsed"], + ["builtin", "setTimeout"], + ["builtin", "sendAnalog"], + ["builtin", "readSlider"], + ["builtin", "analogRead"], + ["builtin", "beginWrite"], + ["builtin", "createChar"], + ["builtin", "motorsStop"], + ["builtin", "keyPressed"], + ["builtin", "tempoWrite"], + ["builtin", "readButton"], + ["builtin", "subnetMask"], + ["builtin", "debugPrint"], + ["builtin", "macAddress"], + ["builtin", "writeGreen"], + ["builtin", "randomSeed"], + ["builtin", "attachGPRS"], + ["builtin", "readString"], + ["builtin", "sendString"], + ["builtin", "remotePort"], + ["builtin", "releaseAll"], + ["builtin", "mouseMoved"], + ["builtin", "background"], + ["builtin", "getXChange"], + ["builtin", "getYChange"], + ["builtin", "answerCall"], + ["builtin", "getResult"], + ["builtin", "voiceCall"], + ["builtin", "endPacket"], + ["builtin", "constrain"], + ["builtin", "getSocket"], + ["builtin", "writeJSON"], + ["builtin", "getButton"], + ["builtin", "available"], + ["builtin", "connected"], + ["builtin", "findUntil"], + ["builtin", "readBytes"], + ["builtin", "exitValue"], + ["builtin", "readGreen"], + ["builtin", "writeBlue"], + ["builtin", "startLoop"], + ["builtin", "isPressed"], + ["builtin", "sendSysex"], + ["builtin", "pauseMode"], + ["builtin", "gatewayIP"], + ["builtin", "setCursor"], + ["builtin", "getOemKey"], + ["builtin", "tuneWrite"], + ["builtin", "noDisplay"], + ["builtin", "loadImage"], + ["builtin", "switchPIN"], + ["builtin", "onRequest"], + ["builtin", "onReceive"], + ["builtin", "changePIN"], + ["builtin", "playFile"], + ["builtin", "noBuffer"], + ["builtin", "parseInt"], + ["builtin", "overflow"], + ["builtin", "checkPIN"], + ["builtin", "knobRead"], + ["builtin", "beginTFT"], + ["builtin", "bitClear"], + ["builtin", "updateIR"], + ["builtin", "bitWrite"], + ["builtin", "position"], + ["builtin", "writeRGB"], + ["builtin", "highByte"], + ["builtin", "writeRed"], + ["builtin", "setSpeed"], + ["builtin", "readBlue"], + ["builtin", "noStroke"], + ["builtin", "remoteIP"], + ["builtin", "transfer"], + ["builtin", "shutdown"], + ["builtin", "hangCall"], + ["builtin", "beginSMS"], + ["builtin", "endWrite"], + ["builtin", "attached"], + ["builtin", "maintain"], + ["builtin", "noCursor"], + ["builtin", "checkReg"], + ["builtin", "checkPUK"], + ["builtin", "shiftOut"], + ["builtin", "isValid"], + ["builtin", "shiftIn"], + ["builtin", "pulseIn"], + ["builtin", "connect"], + ["builtin", "println"], + ["builtin", "localIP"], + ["builtin", "pinMode"], + ["builtin", "getIMEI"], + ["builtin", "display"], + ["builtin", "noBlink"], + ["builtin", "process"], + ["builtin", "getBand"], + ["builtin", "running"], + ["builtin", "beginSD"], + ["builtin", "drawBMP"], + ["builtin", "lowByte"], + ["builtin", "setBand"], + ["builtin", "release"], + ["builtin", "bitRead"], + ["builtin", "prepare"], + ["builtin", "pointTo"], + ["builtin", "readRed"], + ["builtin", "setMode"], + ["builtin", "noFill"], + ["builtin", "remove"], + ["builtin", "listen"], + ["builtin", "stroke"], + ["builtin", "detach"], + ["builtin", "attach"], + ["builtin", "noTone"], + ["builtin", "exists"], + ["builtin", "buffer"], + ["builtin", "height"], + ["builtin", "bitSet"], + ["builtin", "circle"], + ["builtin", "config"], + ["builtin", "cursor"], + ["builtin", "random"], + ["builtin", "IRread"], + ["builtin", "setDNS"], + ["builtin", "endSMS"], + ["builtin", "getKey"], + ["builtin", "micros"], + ["builtin", "millis"], + ["builtin", "begin"], + ["builtin", "print"], + ["builtin", "write"], + ["builtin", "ready"], + ["builtin", "flush"], + ["builtin", "width"], + ["builtin", "isPIN"], + ["builtin", "blink"], + ["builtin", "clear"], + ["builtin", "press"], + ["builtin", "mkdir"], + ["builtin", "rmdir"], + ["builtin", "close"], + ["builtin", "point"], + ["builtin", "yield"], + ["builtin", "image"], + ["builtin", "BSSID"], + ["builtin", "click"], + ["builtin", "delay"], + ["builtin", "read"], + ["builtin", "text"], + ["builtin", "move"], + ["builtin", "peek"], + ["builtin", "beep"], + ["builtin", "rect"], + ["builtin", "line"], + ["builtin", "open"], + ["builtin", "seek"], + ["builtin", "fill"], + ["builtin", "size"], + ["builtin", "turn"], + ["builtin", "stop"], + ["builtin", "home"], + ["builtin", "find"], + ["builtin", "step"], + ["builtin", "tone"], + ["builtin", "sqrt"], + ["builtin", "RSSI"], + ["builtin", "SSID"], + ["builtin", "end"], + ["builtin", "bit"], + ["builtin", "tan"], + ["builtin", "cos"], + ["builtin", "sin"], + ["builtin", "pow"], + ["builtin", "map"], + ["builtin", "abs"], + ["builtin", "max"], + ["builtin", "min"], + ["builtin", "get"], + ["builtin", "run"], + ["builtin", "put"] +] diff --git a/tests/languages/arduino/constant_feature.test b/tests/languages/arduino/constant_feature.test new file mode 100644 index 0000000000..ea33346ac5 --- /dev/null +++ b/tests/languages/arduino/constant_feature.test @@ -0,0 +1,43 @@ +DIGITAL_MESSAGE +FIRMATA_STRING +ANALOG_MESSAGE +REPORT_DIGITAL +REPORT_ANALOG +INPUT_PULLUP +SET_PIN_MODE +INTERNAL2V56 +SYSTEM_RESET +LED_BUILTIN +INTERNAL1V1 +SYSEX_START +INTERNAL +EXTERNAL +DEFAULT +OUTPUT +INPUT +HIGH +LOW + +---------------------------------------------------- + +[ + ["constant", "DIGITAL_MESSAGE"], + ["constant", "FIRMATA_STRING"], + ["constant", "ANALOG_MESSAGE"], + ["constant", "REPORT_DIGITAL"], + ["constant", "REPORT_ANALOG"], + ["constant", "INPUT_PULLUP"], + ["constant", "SET_PIN_MODE"], + ["constant", "INTERNAL2V56"], + ["constant", "SYSTEM_RESET"], + ["constant", "LED_BUILTIN"], + ["constant", "INTERNAL1V1"], + ["constant", "SYSEX_START"], + ["constant", "INTERNAL"], + ["constant", "EXTERNAL"], + ["constant", "DEFAULT"], + ["constant", "OUTPUT"], + ["constant", "INPUT"], + ["constant", "HIGH"], + ["constant", "LOW"] +] diff --git a/tests/languages/arduino/keyword_feature.test b/tests/languages/arduino/keyword_feature.test new file mode 100644 index 0000000000..7b44538984 --- /dev/null +++ b/tests/languages/arduino/keyword_feature.test @@ -0,0 +1,75 @@ +setup +if +else +while +do +for +return +in +instanceof +default +function +loop +goto +switch +case +new +try +throw +catch +finally +null +break +continue +boolean +bool +void +byte +word +string +String +array +int +long +integer +double + +---------------------------------------------------- + +[ + ["keyword", "setup"], + ["keyword", "if"], + ["keyword", "else"], + ["keyword", "while"], + ["keyword", "do"], + ["keyword", "for"], + ["keyword", "return"], + ["keyword", "in"], + ["keyword", "instanceof"], + ["keyword", "default"], + ["keyword", "function"], + ["keyword", "loop"], + ["keyword", "goto"], + ["keyword", "switch"], + ["keyword", "case"], + ["keyword", "new"], + ["keyword", "try"], + ["keyword", "throw"], + ["keyword", "catch"], + ["keyword", "finally"], + ["keyword", "null"], + ["keyword", "break"], + ["keyword", "continue"], + ["keyword", "boolean"], + ["keyword", "bool"], + ["keyword", "void"], + ["keyword", "byte"], + ["keyword", "word"], + ["keyword", "string"], + ["keyword", "String"], + ["keyword", "array"], + ["keyword", "int"], + ["keyword", "long"], + ["keyword", "integer"], + ["keyword", "double"] +] diff --git a/tests/languages/asm6502/opcode_feature.test b/tests/languages/asm6502/opcode_feature.test index 75e7b42806..8410fd2cbe 100644 --- a/tests/languages/asm6502/opcode_feature.test +++ b/tests/languages/asm6502/opcode_feature.test @@ -1,17 +1,233 @@ -LDA -BNE -inx +adc +and +asl +bcc +bcs +beq +bit +bmi +bne +bpl +brk +bvc +bvs clc +cld +cli +clv +cmp +cpx +cpy +dec +dex +dey +eor +inc +inx +iny +jmp +jsr +lda +ldx +ldy +lsr +nop +ora +pha +php +pla +plp +rol +ror +rti +rts +sbc +sec +sed +sei +sta +stx +sty +tax +tay +tsx +txa +txs +tya +ADC +AND +ASL +BCC +BCS +BEQ +BIT +BMI +BNE +BPL +BRK +BVC +BVS +CLC +CLD +CLI +CLV +CMP +CPX +CPY +DEC +DEX +DEY +EOR +INC +INX +INY +JMP +JSR +LDA +LDX +LDY +LSR +NOP +ORA +PHA +PHP +PLA +PLP +ROL +ROR +RTI +RTS +SBC +SEC +SED +SEI +STA +STX +STY +TAX +TAY +TSX +TXA +TXS +TYA -------------------------------------- +---------------------------------------------------- [ - ["opcode", "LDA"], - ["opcode", "BNE"], - ["opcode", "inx"], - ["opcode", "clc"] + ["opcode", "adc"], + ["opcode", "and"], + ["opcode", "asl"], + ["opcode", "bcc"], + ["opcode", "bcs"], + ["opcode", "beq"], + ["opcode", "bit"], + ["opcode", "bmi"], + ["opcode", "bne"], + ["opcode", "bpl"], + ["opcode", "brk"], + ["opcode", "bvc"], + ["opcode", "bvs"], + ["opcode", "clc"], + ["opcode", "cld"], + ["opcode", "cli"], + ["opcode", "clv"], + ["opcode", "cmp"], + ["opcode", "cpx"], + ["opcode", "cpy"], + ["opcode", "dec"], + ["opcode", "dex"], + ["opcode", "dey"], + ["opcode", "eor"], + ["opcode", "inc"], + ["opcode", "inx"], + ["opcode", "iny"], + ["opcode", "jmp"], + ["opcode", "jsr"], + ["opcode", "lda"], + ["opcode", "ldx"], + ["opcode", "ldy"], + ["opcode", "lsr"], + ["opcode", "nop"], + ["opcode", "ora"], + ["opcode", "pha"], + ["opcode", "php"], + ["opcode", "pla"], + ["opcode", "plp"], + ["opcode", "rol"], + ["opcode", "ror"], + ["opcode", "rti"], + ["opcode", "rts"], + ["opcode", "sbc"], + ["opcode", "sec"], + ["opcode", "sed"], + ["opcode", "sei"], + ["opcode", "sta"], + ["opcode", "stx"], + ["opcode", "sty"], + ["opcode", "tax"], + ["opcode", "tay"], + ["opcode", "tsx"], + ["opcode", "txa"], + ["opcode", "txs"], + ["opcode", "tya"], + ["opcode", "ADC"], + ["opcode", "AND"], + ["opcode", "ASL"], + ["opcode", "BCC"], + ["opcode", "BCS"], + ["opcode", "BEQ"], + ["opcode", "BIT"], + ["opcode", "BMI"], + ["opcode", "BNE"], + ["opcode", "BPL"], + ["opcode", "BRK"], + ["opcode", "BVC"], + ["opcode", "BVS"], + ["opcode", "CLC"], + ["opcode", "CLD"], + ["opcode", "CLI"], + ["opcode", "CLV"], + ["opcode", "CMP"], + ["opcode", "CPX"], + ["opcode", "CPY"], + ["opcode", "DEC"], + ["opcode", "DEX"], + ["opcode", "DEY"], + ["opcode", "EOR"], + ["opcode", "INC"], + ["opcode", "INX"], + ["opcode", "INY"], + ["opcode", "JMP"], + ["opcode", "JSR"], + ["opcode", "LDA"], + ["opcode", "LDX"], + ["opcode", "LDY"], + ["opcode", "LSR"], + ["opcode", "NOP"], + ["opcode", "ORA"], + ["opcode", "PHA"], + ["opcode", "PHP"], + ["opcode", "PLA"], + ["opcode", "PLP"], + ["opcode", "ROL"], + ["opcode", "ROR"], + ["opcode", "RTI"], + ["opcode", "RTS"], + ["opcode", "SBC"], + ["opcode", "SEC"], + ["opcode", "SED"], + ["opcode", "SEI"], + ["opcode", "STA"], + ["opcode", "STX"], + ["opcode", "STY"], + ["opcode", "TAX"], + ["opcode", "TAY"], + ["opcode", "TSX"], + ["opcode", "TXA"], + ["opcode", "TXS"], + ["opcode", "TYA"] ] -------------------------------------- +---------------------------------------------------- Check for opcodes diff --git a/tests/languages/basic/punctuation_feature.test b/tests/languages/basic/punctuation_feature.test new file mode 100644 index 0000000000..318275a6e6 --- /dev/null +++ b/tests/languages/basic/punctuation_feature.test @@ -0,0 +1,11 @@ +, ; : ( ) + +---------------------------------------------------- + +[ + ["punctuation", ","], + ["punctuation", ";"], + ["punctuation", ":"], + ["punctuation", "("], + ["punctuation", ")"] +] diff --git a/tests/languages/batch/command_feature.test b/tests/languages/batch/command_feature.test index 350788a8bd..77c928ca4b 100644 --- a/tests/languages/batch/command_feature.test +++ b/tests/languages/batch/command_feature.test @@ -1,10 +1,19 @@ FOR /l %%a in (5,-1,1) do (TITLE %title% -- closing in %%as) + +FOR /F %%A IN ('TYPE "%InFile%"^|find /v /c ""') + SET title=%~n0 + echo.Hello World + @ECHO OFF + if not defined ProgressFormat set "ProgressFormat=[PPPP]" + EXIT /b + set /a ProgressCnt+=1 + IF "%~1" NEQ "" (SET %~1=%new%) ELSE (echo.%new%) ---------------------------------------------------- @@ -12,13 +21,18 @@ IF "%~1" NEQ "" (SET %~1=%new%) ELSE (echo.%new%) [ ["command", [ ["keyword", "FOR"], - ["parameter", ["/l"]], + ["parameter", [ + "/l" + ]], ["variable", "%%a"], ["keyword", "in"], ["punctuation", "("], - ["number", "5"], ["punctuation", ","], - ["number", "-1"], ["punctuation", ","], - ["number", "1"], ["punctuation", ")"], + ["number", "5"], + ["punctuation", ","], + ["number", "-1"], + ["punctuation", ","], + ["number", "1"], + ["punctuation", ")"], ["keyword", "do"] ]], ["punctuation", "("], @@ -30,6 +44,27 @@ IF "%~1" NEQ "" (SET %~1=%new%) ELSE (echo.%new%) ]], ["punctuation", ")"], + ["command", [ + ["keyword", "FOR"], + ["parameter", [ + "/F" + ]], + ["variable", "%%A"], + " IN ('TYPE ", + ["string", "\"%InFile%\""], + ["operator", "^"], + "|find ", + ["parameter", [ + "/v" + ]], + ["parameter", [ + "/c" + ]], + ["string", "\"\""], + "'" + ]], + ["punctuation", ")"], + ["command", [ ["keyword", "SET"], ["variable", "title"], @@ -61,12 +96,16 @@ IF "%~1" NEQ "" (SET %~1=%new%) ELSE (echo.%new%) ["command", [ ["keyword", "EXIT"], - ["parameter", ["/b"]] + ["parameter", [ + "/b" + ]] ]], ["command", [ ["keyword", "set"], - ["parameter", ["/a"]], + ["parameter", [ + "/a" + ]], ["variable", "ProgressCnt"], ["operator", "+="], ["number", "1"] @@ -100,4 +139,4 @@ IF "%~1" NEQ "" (SET %~1=%new%) ELSE (echo.%new%) ---------------------------------------------------- -Checks for commands. \ No newline at end of file +Checks for commands. diff --git a/tests/languages/batch/label_feature.test b/tests/languages/batch/label_feature.test index a672ba0cc3..547bda0200 100644 --- a/tests/languages/batch/label_feature.test +++ b/tests/languages/batch/label_feature.test @@ -1,13 +1,18 @@ :foo :Foo_Bar +GOTO:eof ---------------------------------------------------- [ ["label", ":foo"], - ["label", ":Foo_Bar"] + ["label", ":Foo_Bar"], + ["command", [ + ["keyword", "GOTO"], + ["label", ":eof"] + ]] ] ---------------------------------------------------- -Checks for labels. \ No newline at end of file +Checks for labels. diff --git a/tests/languages/bison/number_feature.test b/tests/languages/bison/number_feature.test index ddbacff94b..3b8e397c61 100644 --- a/tests/languages/bison/number_feature.test +++ b/tests/languages/bison/number_feature.test @@ -1,3 +1,9 @@ +%% +42 +0 +0xBadFace +%% + 42 0 0xBadFace @@ -5,6 +11,14 @@ ---------------------------------------------------- [ + ["bison", [ + ["punctuation", "%%"], + ["number", "42"], + ["number", "0"], + ["number", "0xBadFace"], + ["punctuation", "%%"] + ]], + ["number", "42"], ["number", "0"], ["number", "0xBadFace"] @@ -12,4 +26,4 @@ ---------------------------------------------------- -Checks for numbers. \ No newline at end of file +Checks for numbers. diff --git a/tests/languages/cfscript/type_feature.test b/tests/languages/cfscript/type_feature.test index b87a21a8a6..120ab7b911 100644 --- a/tests/languages/cfscript/type_feature.test +++ b/tests/languages/cfscript/type_feature.test @@ -10,7 +10,7 @@ string struct uuid void -xml +xml= ---------------------------------------------------- @@ -27,7 +27,7 @@ xml ["type", "struct"], ["type", "uuid"], ["type", "void"], - ["keyword", "xml"] + ["type", "xml"], ["operator", "="] ] ---------------------------------------------------- diff --git a/tests/languages/cil/directive_feature.test b/tests/languages/cil/directive_feature.test new file mode 100644 index 0000000000..452b558c95 --- /dev/null +++ b/tests/languages/cil/directive_feature.test @@ -0,0 +1,15 @@ +.class public Foo { +.method +.maxstack 2 + +---------------------------------------------------- + +[ + ["directive", ".class"], + ["keyword", "public"], + " Foo ", + ["punctuation", "{"], + ["directive", ".method"], + ["directive", ".maxstack"], + ["number", "2"] +] diff --git a/tests/languages/cil/number_feature.test b/tests/languages/cil/number_feature.test new file mode 100644 index 0000000000..fe3fe8900a --- /dev/null +++ b/tests/languages/cil/number_feature.test @@ -0,0 +1,13 @@ +0x0 +0xFF.5F +-0x1 +-0xFF.5F + +---------------------------------------------------- + +[ + ["number", "0x0"], + ["number", "0xFF.5F"], + "\r\n-", ["number", "0x1"], + "\r\n-", ["number", "0xFF.5F"] +] diff --git a/tests/languages/cil/punctuation_feature.test b/tests/languages/cil/punctuation_feature.test new file mode 100644 index 0000000000..57d6604dc0 --- /dev/null +++ b/tests/languages/cil/punctuation_feature.test @@ -0,0 +1,21 @@ +( ) [ ] { } +; , : = + +IL_001f + +---------------------------------------------------- + +[ + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", "["], + ["punctuation", "]"], + ["punctuation", "{"], + ["punctuation", "}"], + ["punctuation", ";"], + ["punctuation", ","], + ["punctuation", ":"], + ["punctuation", "="], + + ["punctuation", "IL_001f"] +] diff --git a/tests/languages/concurnas/keyword_feature.test b/tests/languages/concurnas/keyword_feature.test index cdf3fdb9d3..45e38f7aaf 100644 --- a/tests/languages/concurnas/keyword_feature.test +++ b/tests/languages/concurnas/keyword_feature.test @@ -1,20 +1,20 @@ -as +abstract +actor +also +annotation assert async await -band bool boolean -bor break -bxor byte case catch changed char +class closed -comp constant continue def @@ -23,6 +23,7 @@ del double elif else +enum every extends false @@ -39,14 +40,11 @@ in init inject int -is -isnot lambda local long loop match -mod new nodefault null @@ -63,6 +61,7 @@ pre private protected provide +provider public return shared @@ -74,6 +73,7 @@ super sync this throw +trait trans transient true @@ -90,23 +90,23 @@ with ---------------------------------------------------- [ - ["operator", "as"], + ["keyword", "abstract"], + ["keyword", "actor"], + ["keyword", "also"], + ["keyword", "annotation"], ["keyword", "assert"], ["keyword", "async"], ["keyword", "await"], - ["operator", "band"], ["keyword", "bool"], ["keyword", "boolean"], - ["operator", "bor"], ["keyword", "break"], - ["operator", "bxor"], ["keyword", "byte"], ["keyword", "case"], ["keyword", "catch"], ["keyword", "changed"], ["keyword", "char"], + ["keyword", "class"], ["keyword", "closed"], - ["operator", "comp"], ["keyword", "constant"], ["keyword", "continue"], ["keyword", "def"], @@ -115,6 +115,7 @@ with ["keyword", "double"], ["keyword", "elif"], ["keyword", "else"], + ["keyword", "enum"], ["keyword", "every"], ["keyword", "extends"], ["keyword", "false"], @@ -131,14 +132,11 @@ with ["keyword", "init"], ["keyword", "inject"], ["keyword", "int"], - ["operator", "is"], - ["operator", "isnot"], ["keyword", "lambda"], ["keyword", "local"], ["keyword", "long"], ["keyword", "loop"], ["keyword", "match"], - ["operator", "mod"], ["keyword", "new"], ["keyword", "nodefault"], ["keyword", "null"], @@ -155,6 +153,7 @@ with ["keyword", "private"], ["keyword", "protected"], ["keyword", "provide"], + ["keyword", "provider"], ["keyword", "public"], ["keyword", "return"], ["keyword", "shared"], @@ -166,6 +165,7 @@ with ["keyword", "sync"], ["keyword", "this"], ["keyword", "throw"], + ["keyword", "trait"], ["keyword", "trans"], ["keyword", "transient"], ["keyword", "true"], @@ -182,4 +182,4 @@ with ---------------------------------------------------- -Checks for keywords. \ No newline at end of file +Checks for keywords. diff --git a/tests/languages/concurnas/operator_feature.test b/tests/languages/concurnas/operator_feature.test index 41e009a889..4854a85681 100644 --- a/tests/languages/concurnas/operator_feature.test +++ b/tests/languages/concurnas/operator_feature.test @@ -4,30 +4,50 @@ &== &<> isnot is as +comp / /= * *= mod mod= < <== > >== and or -bor bxor +band bor bxor ^ ---------------------------------------------------- [ - ["operator", "+"], ["operator", "++"], ["operator", "+="], - ["operator", "-"], ["operator", "--"], ["operator", "-="], - ["operator", "="], ["operator", "=="], ["operator", "<>"], - ["operator", "&=="], ["operator", "&<>"], + ["operator", "+"], + ["operator", "++"], + ["operator", "+="], + ["operator", "-"], + ["operator", "--"], + ["operator", "-="], + ["operator", "="], + ["operator", "=="], + ["operator", "<>"], + ["operator", "&=="], + ["operator", "&<>"], ["operator", "isnot"], - ["operator", "is"], ["operator", "as"], - ["operator", "/"], ["operator", "/="], ["operator", "*"], ["operator", "*="], - ["operator", "mod"], ["operator", "mod="], - ["operator", "<"], ["operator", "<=="], ["operator", ">"], ["operator", ">=="], - ["operator", "and"], ["operator", "or"], - ["operator", "bor"], ["operator", "bxor"], + ["operator", "is"], + ["operator", "as"], + ["operator", "comp"], + ["operator", "/"], + ["operator", "/="], + ["operator", "*"], + ["operator", "*="], + ["operator", "mod"], + ["operator", "mod="], + ["operator", "<"], + ["operator", "<=="], + ["operator", ">"], + ["operator", ">=="], + ["operator", "and"], + ["operator", "or"], + ["operator", "band"], + ["operator", "bor"], + ["operator", "bxor"], ["operator", "^"] ] ---------------------------------------------------- -Checks for operators. \ No newline at end of file +Checks for operators. diff --git a/tests/languages/concurnas/string_feature.test b/tests/languages/concurnas/string_feature.test index 609a5b38fb..a9930c8413 100644 --- a/tests/languages/concurnas/string_feature.test +++ b/tests/languages/concurnas/string_feature.test @@ -1,4 +1,5 @@ "hi" +"addition result: {1+2}" 'hi' r'say' r"hello" @@ -9,15 +10,36 @@ myAPL || x[⍋x←6?40] || ---------------------------------------------------- [ - ["string", [["string", "\"hi\""]]], - ["string", [["string", "'hi'"]]], - ["string", [["string", "r'say'"]]], - ["string", [["string", "r\"hello\""]]], - ["string", [["string", "'contains: \"'"]]], + ["string", [ + ["string", "\"hi\""] + ]], + ["string", [ + ["string", "\"addition result: "], + ["interpolation", [ + ["punctuation", "{"], + ["number", "1"], + ["operator", "+"], + ["number", "2"], + ["punctuation", "}"] + ]], + ["string", "\""] + ]], + ["string", [ + ["string", "'hi'"] + ]], + ["string", [ + ["string", "r'say'"] + ]], + ["string", [ + ["string", "r\"hello\""] + ]], + ["string", [ + ["string", "'contains: \"'"] + ]], ["langext", "myAPL || x[⍋x←6?40] ||"], "\r\n || invalid ||" ] ---------------------------------------------------- -Checks for raw strings. \ No newline at end of file +Checks for raw strings. diff --git a/tests/languages/coq/attribute_feature.test b/tests/languages/coq/attribute_feature.test index a4636681ea..7d727fc1a0 100644 --- a/tests/languages/coq/attribute_feature.test +++ b/tests/languages/coq/attribute_feature.test @@ -6,6 +6,16 @@ #[canonical=yes, canonical=no] #[ export ] +(* legacy *) +Cumulative +Global +Local +Monomorphic +NonCumulative +Polymorphic +Private +Program + ---------------------------------------------------- [ @@ -69,5 +79,15 @@ ["punctuation", "#["], " export ", ["punctuation", "]"] - ]] -] \ No newline at end of file + ]], + + ["comment", "(* legacy *)"], + ["attribute", "Cumulative"], + ["attribute", "Global"], + ["attribute", "Local"], + ["attribute", "Monomorphic"], + ["attribute", "NonCumulative"], + ["attribute", "Polymorphic"], + ["attribute", "Private"], + ["attribute", "Program"] +] diff --git a/tests/languages/csharp/class-name-declaration_feature.test b/tests/languages/csharp/class-name-declaration_feature.test index a1c96fab7b..0d347ed4f5 100644 --- a/tests/languages/csharp/class-name-declaration_feature.test +++ b/tests/languages/csharp/class-name-declaration_feature.test @@ -17,6 +17,8 @@ public static RGBColor FromRainbow(Rainbow colorBand) => _ => throw new ArgumentException(message: "invalid enum value", paramName: nameof(colorBand)), }; +try {} catch (ArgumentException e) {} + ---------------------------------------------------- [ @@ -126,7 +128,18 @@ public static RGBColor FromRainbow(Rainbow colorBand) => ["punctuation", ","], ["punctuation", "}"], - ["punctuation", ";"] + ["punctuation", ";"], + + ["keyword", "try"], + ["punctuation", "{"], + ["punctuation", "}"], + ["keyword", "catch"], + ["punctuation", "("], + ["class-name", ["ArgumentException"]], + " e", + ["punctuation", ")"], + ["punctuation", "{"], + ["punctuation", "}"] ] ---------------------------------------------------- diff --git a/tests/languages/csharp/interpolation-string_feature.test b/tests/languages/csharp/interpolation-string_feature.test index 323962e0f8..fba1721ffe 100644 --- a/tests/languages/csharp/interpolation-string_feature.test +++ b/tests/languages/csharp/interpolation-string_feature.test @@ -1,4 +1,5 @@ $"Hello, {{ {name} }}! Today is {date.DayOfWeek}, it's {date:HH:mm} now." +@$"Hello, {{ {name} }}! Today is {date.DayOfWeek}, it's {date:HH:mm} now." $"{a,5} and {b + "" /* foo ":} */:format} {h(a, b)}" $"{1}{2}{3}" @@ -43,6 +44,35 @@ $@"{ ]], ["string", " now.\""] ]], + ["interpolation-string", [ + ["string", "@$\"Hello, {{ "], + ["interpolation", [ + ["punctuation", "{"], + ["expression", ["name"]], + ["punctuation", "}"] + ]], + ["string", " }}! Today is "], + ["interpolation", [ + ["punctuation", "{"], + ["expression", [ + "date", + ["punctuation", "."], + "DayOfWeek" + ]], + ["punctuation", "}"] + ]], + ["string", ", it's "], + ["interpolation", [ + ["punctuation", "{"], + ["expression", ["date"]], + ["format-string", [ + ["punctuation", ":"], + "HH:mm" + ]], + ["punctuation", "}"] + ]], + ["string", " now.\""] + ]], ["interpolation-string", [ ["string", "$\""], ["interpolation", [ diff --git a/tests/languages/css!+css-extras/color_feature.test b/tests/languages/css!+css-extras/color_feature.test new file mode 100644 index 0000000000..261b6690e0 --- /dev/null +++ b/tests/languages/css!+css-extras/color_feature.test @@ -0,0 +1,341 @@ +AliceBlue +AntiqueWhite +Aqua +Aquamarine +Azure +Beige +Bisque +Black +BlanchedAlmond +Blue +BlueViolet +Brown +BurlyWood +CadetBlue +Chartreuse +Chocolate +Coral +CornflowerBlue +Cornsilk +Crimson +Cyan +DarkBlue +DarkCyan +DarkGoldenRod +DarkGrey +DarkGreen +DarkKhaki +DarkMagenta +DarkOliveGreen +DarkOrange +DarkOrchid +DarkRed +DarkSalmon +DarkSeaGreen +DarkSlateBlue +DarkSlateGrey +DarkTurquoise +DarkViolet +DeepPink +DeepSkyBlue +DimGrey +DodgerBlue +FireBrick +FloralWhite +ForestGreen +Fuchsia +Gainsboro +GhostWhite +Gold +GoldenRod +Grey +Green +GreenYellow +HoneyDew +HotPink +IndianRed +Indigo +Ivory +Khaki +Lavender +LavenderBlush +LawnGreen +LemonChiffon +LightBlue +LightCoral +LightCyan +LightGoldenRodYellow +LightGrey +LightGreen +LightPink +LightSalmon +LightSeaGreen +LightSkyBlue +LightSlateGrey +LightSteelBlue +LightYellow +Lime +LimeGreen +Linen +Magenta +Maroon +MediumAquaMarine +MediumBlue +MediumOrchid +MediumPurple +MediumSeaGreen +MediumSlateBlue +MediumSpringGreen +MediumTurquoise +MediumVioletRed +MidnightBlue +MintCream +MistyRose +Moccasin +NavajoWhite +Navy +OldLace +Olive +OliveDrab +Orange +OrangeRed +Orchid +PaleGoldenRod +PaleGreen +PaleTurquoise +PaleVioletRed +PapayaWhip +PeachPuff +Peru +Pink +Plum +PowderBlue +Purple +Red +RosyBrown +RoyalBlue +SaddleBrown +Salmon +SandyBrown +SeaGreen +SeaShell +Sienna +Silver +SkyBlue +SlateBlue +SlateGrey +Snow +SpringGreen +SteelBlue +Tan +Teal +Thistle +Tomato +Transparent +Turquoise +Violet +Wheat +White +WhiteSmoke +Yellow +YellowGreen + +rgb(0,0,0) +rgba(0 , 255 , 0, 0.123) +hsl(170, 50%, 45%) +hsla(120,100%,50%,0.3) + +---------------------------------------------------- + +[ + ["color", "AliceBlue"], + ["color", "AntiqueWhite"], + ["color", "Aqua"], + ["color", "Aquamarine"], + ["color", "Azure"], + ["color", "Beige"], + ["color", "Bisque"], + ["color", "Black"], + ["color", "BlanchedAlmond"], + ["color", "Blue"], + ["color", "BlueViolet"], + ["color", "Brown"], + ["color", "BurlyWood"], + ["color", "CadetBlue"], + ["color", "Chartreuse"], + ["color", "Chocolate"], + ["color", "Coral"], + ["color", "CornflowerBlue"], + ["color", "Cornsilk"], + ["color", "Crimson"], + ["color", "Cyan"], + ["color", "DarkBlue"], + ["color", "DarkCyan"], + ["color", "DarkGoldenRod"], + ["color", "DarkGrey"], + ["color", "DarkGreen"], + ["color", "DarkKhaki"], + ["color", "DarkMagenta"], + ["color", "DarkOliveGreen"], + ["color", "DarkOrange"], + ["color", "DarkOrchid"], + ["color", "DarkRed"], + ["color", "DarkSalmon"], + ["color", "DarkSeaGreen"], + ["color", "DarkSlateBlue"], + ["color", "DarkSlateGrey"], + ["color", "DarkTurquoise"], + ["color", "DarkViolet"], + ["color", "DeepPink"], + ["color", "DeepSkyBlue"], + ["color", "DimGrey"], + ["color", "DodgerBlue"], + ["color", "FireBrick"], + ["color", "FloralWhite"], + ["color", "ForestGreen"], + ["color", "Fuchsia"], + ["color", "Gainsboro"], + ["color", "GhostWhite"], + ["color", "Gold"], + ["color", "GoldenRod"], + ["color", "Grey"], + ["color", "Green"], + ["color", "GreenYellow"], + ["color", "HoneyDew"], + ["color", "HotPink"], + ["color", "IndianRed"], + ["color", "Indigo"], + ["color", "Ivory"], + ["color", "Khaki"], + ["color", "Lavender"], + ["color", "LavenderBlush"], + ["color", "LawnGreen"], + ["color", "LemonChiffon"], + ["color", "LightBlue"], + ["color", "LightCoral"], + ["color", "LightCyan"], + ["color", "LightGoldenRodYellow"], + ["color", "LightGrey"], + ["color", "LightGreen"], + ["color", "LightPink"], + ["color", "LightSalmon"], + ["color", "LightSeaGreen"], + ["color", "LightSkyBlue"], + ["color", "LightSlateGrey"], + ["color", "LightSteelBlue"], + ["color", "LightYellow"], + ["color", "Lime"], + ["color", "LimeGreen"], + ["color", "Linen"], + ["color", "Magenta"], + ["color", "Maroon"], + ["color", "MediumAquaMarine"], + ["color", "MediumBlue"], + ["color", "MediumOrchid"], + ["color", "MediumPurple"], + ["color", "MediumSeaGreen"], + ["color", "MediumSlateBlue"], + ["color", "MediumSpringGreen"], + ["color", "MediumTurquoise"], + ["color", "MediumVioletRed"], + ["color", "MidnightBlue"], + ["color", "MintCream"], + ["color", "MistyRose"], + ["color", "Moccasin"], + ["color", "NavajoWhite"], + ["color", "Navy"], + ["color", "OldLace"], + ["color", "Olive"], + ["color", "OliveDrab"], + ["color", "Orange"], + ["color", "OrangeRed"], + ["color", "Orchid"], + ["color", "PaleGoldenRod"], + ["color", "PaleGreen"], + ["color", "PaleTurquoise"], + ["color", "PaleVioletRed"], + ["color", "PapayaWhip"], + ["color", "PeachPuff"], + ["color", "Peru"], + ["color", "Pink"], + ["color", "Plum"], + ["color", "PowderBlue"], + ["color", "Purple"], + ["color", "Red"], + ["color", "RosyBrown"], + ["color", "RoyalBlue"], + ["color", "SaddleBrown"], + ["color", "Salmon"], + ["color", "SandyBrown"], + ["color", "SeaGreen"], + ["color", "SeaShell"], + ["color", "Sienna"], + ["color", "Silver"], + ["color", "SkyBlue"], + ["color", "SlateBlue"], + ["color", "SlateGrey"], + ["color", "Snow"], + ["color", "SpringGreen"], + ["color", "SteelBlue"], + ["color", "Tan"], + ["color", "Teal"], + ["color", "Thistle"], + ["color", "Tomato"], + ["color", "Transparent"], + ["color", "Turquoise"], + ["color", "Violet"], + ["color", "Wheat"], + ["color", "White"], + ["color", "WhiteSmoke"], + ["color", "Yellow"], + ["color", "YellowGreen"], + + ["color", [ + ["function", "rgb"], + ["punctuation", "("], + ["number", "0"], + ["punctuation", ","], + ["number", "0"], + ["punctuation", ","], + ["number", "0"], + ["punctuation", ")"] + ]], + ["color", [ + ["function", "rgba"], + ["punctuation", "("], + ["number", "0"], + ["punctuation", ","], + ["number", "255"], + ["punctuation", ","], + ["number", "0"], + ["punctuation", ","], + ["number", "0.123"], + ["punctuation", ")"] + ]], + ["color", [ + ["function", "hsl"], + ["punctuation", "("], + ["number", "170"], + ["punctuation", ","], + ["number", "50"], + ["unit", "%"], + ["punctuation", ","], + ["number", "45"], + ["unit", "%"], + ["punctuation", ")"] + ]], + ["color", [ + ["function", "hsla"], + ["punctuation", "("], + ["number", "120"], + ["punctuation", ","], + ["number", "100"], + ["unit", "%"], + ["punctuation", ","], + ["number", "50"], + ["unit", "%"], + ["punctuation", ","], + ["number", "0.3"], + ["punctuation", ")"] + ]] +] diff --git a/tests/languages/dart/class-name_feature.test b/tests/languages/dart/class-name_feature.test index f13f8cdb8b..f97d9ab6f6 100644 --- a/tests/languages/dart/class-name_feature.test +++ b/tests/languages/dart/class-name_feature.test @@ -9,6 +9,18 @@ class Foo with ns.Bar { } +class MyWidget extends SingleChildStatelessWidget { + MyWidget({Key key, Widget child}): super(key: key, child: child); + + @override + Widget buildWithChild(BuildContext context, Widget child) { + return SomethingWidget(child: child); + } +} + +var copy = Foo.Bar.from(foo); +ID foo = something(); + ---------------------------------------------------- [ @@ -30,13 +42,10 @@ class Foo with ns.Bar { ["keyword", "this"], ["punctuation", "."], "bar", - ["punctuation", ")"], - ["punctuation", ";"], + ["punctuation", ")"], + ["punctuation", ";"], - ["keyword", "final"], - ["class-name", ["Bar"]], - " bar", - ["punctuation", ";"], + ["keyword", "final"], ["class-name", ["Bar"]], " bar", ["punctuation", ";"], ["class-name", ["Baz"]], ["generics", [ @@ -62,28 +71,102 @@ class Foo with ns.Bar { " bat", ["punctuation", ")"], ["punctuation", "{"], + ["keyword", "return"], - ["class-name", [ - "Baz" + ["class-name", ["Baz"]], + ["generics", [ + ["punctuation", "<"], + ["class-name", [ + ["namespace", [ + "ns", + ["punctuation", "."] + ]], + "Bat" + ]], + ["punctuation", ">"] ]], - ["generics", [ - ["punctuation", "<"], - ["class-name", [ - ["namespace", [ - "ns", - ["punctuation", "."] - ]], - "Bat" - ]], - ["punctuation", ">"] - ]], ["punctuation", "("], "bat", ["punctuation", ")"], ["punctuation", ";"], + + ["punctuation", "}"], + + ["punctuation", "}"], + + ["keyword", "class"], + ["class-name", ["MyWidget"]], + ["keyword", "extends"], + ["class-name", ["SingleChildStatelessWidget"]], + ["punctuation", "{"], + + ["class-name", ["MyWidget"]], + ["punctuation", "("], + ["punctuation", "{"], + ["class-name", ["Key"]], + " key", + ["punctuation", ","], + ["class-name", ["Widget"]], + " child", + ["punctuation", "}"], + ["punctuation", ")"], + ["punctuation", ":"], + ["keyword", "super"], + ["punctuation", "("], + "key", + ["punctuation", ":"], + " key", + ["punctuation", ","], + " child", + ["punctuation", ":"], + " child", + ["punctuation", ")"], + ["punctuation", ";"], + + ["metadata", "@override"], + + ["class-name", ["Widget"]], + ["function", "buildWithChild"], + ["punctuation", "("], + ["class-name", ["BuildContext"]], + " context", + ["punctuation", ","], + ["class-name", ["Widget"]], + " child", + ["punctuation", ")"], + ["punctuation", "{"], + + ["keyword", "return"], + ["class-name", ["SomethingWidget"]], + ["punctuation", "("], + "child", + ["punctuation", ":"], + " child", + ["punctuation", ")"], + ["punctuation", ";"], + ["punctuation", "}"], - ["punctuation", "}"] + ["punctuation", "}"], + + ["keyword", "var"], + " copy ", + ["operator", "="], + ["class-name", ["Foo.Bar"]], + ["punctuation", "."], + ["function", "from"], + ["punctuation", "("], + "foo", + ["punctuation", ")"], + ["punctuation", ";"], + + ["class-name", ["ID"]], + " foo ", + ["operator", "="], + ["function", "something"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"] ] ---------------------------------------------------- diff --git a/tests/languages/dhall/builtin_feature.test b/tests/languages/dhall/builtin_feature.test new file mode 100644 index 0000000000..8ec35a04ec --- /dev/null +++ b/tests/languages/dhall/builtin_feature.test @@ -0,0 +1,9 @@ +Some +None + +---------------------------------------------------- + +[ + ["builtin", "Some"], + ["builtin", "None"] +] diff --git a/tests/languages/eiffel/punctuation_feature.test b/tests/languages/eiffel/punctuation_feature.test new file mode 100644 index 0000000000..efa8051984 --- /dev/null +++ b/tests/languages/eiffel/punctuation_feature.test @@ -0,0 +1,29 @@ +:= << >> (| |) -> + +.foo + +{ } [ ] ; ( ) , : ? + +---------------------------------------------------- + +[ + ["punctuation", ":="], + ["punctuation", "<<"], + ["punctuation", ">>"], + ["punctuation", "(|"], + ["punctuation", "|)"], + ["punctuation", "->"], + + ["punctuation", "."], "foo\r\n\r\n", + + ["punctuation", "{"], + ["punctuation", "}"], + ["punctuation", "["], + ["punctuation", "]"], + ["punctuation", ";"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ","], + ["punctuation", ":"], + ["punctuation", "?"] +] diff --git a/tests/languages/ejs+pug/ejs_inclusion.test b/tests/languages/ejs+pug/ejs_inclusion.test new file mode 100644 index 0000000000..bbd9452970 --- /dev/null +++ b/tests/languages/ejs+pug/ejs_inclusion.test @@ -0,0 +1,24 @@ +:ejs + <% var foo = '', bar = false; %> + +---------------------------------------------------- + +[ + ["filter-ejs", [ + ["filter-name", ":ejs"], + ["language-javascript", [ + ["operator", "<"], + ["operator", "%"], + ["keyword", "var"], + " foo ", + ["operator", "="], + ["string", "''"], + ["punctuation", ","], + " bar ", + ["operator", "="], + ["boolean", "false"], + ["punctuation", ";"] + ]], + ["delimiter", "%>"] + ]] +] diff --git a/tests/languages/erb+haml/erb_inclusion.test b/tests/languages/erb+haml/erb_inclusion.test new file mode 100644 index 0000000000..1a75c72b54 --- /dev/null +++ b/tests/languages/erb+haml/erb_inclusion.test @@ -0,0 +1,39 @@ +:erb + <%= render @products || "empty_list" %> + +~ + :erb + <%= render @products || "empty_list" %> + +---------------------------------------------------- + +[ + ["filter-erb", [ + ["filter-name", ":erb"], + ["operator", "<"], + ["operator", "%"], + ["operator", "="], + " render ", + ["variable", "@products"], + ["operator", "||"], + ["string", [ + "\"empty_list\"" + ]], + ["operator", "%"], + ["operator", ">"] + ]], + ["punctuation", "~"], + ["filter-erb", [ + ["filter-name", ":erb"], + ["operator", "<"], + ["operator", "%"], + ["operator", "="], + " render ", + ["variable", "@products"], + ["operator", "||"], + ["string", [ + "\"empty_list\"" + ]], + ["delimiter", "%>"] + ]] +] diff --git a/tests/languages/excel-formula/comment_feature.test b/tests/languages/excel-formula/comment_feature.test new file mode 100644 index 0000000000..4a6c0de506 --- /dev/null +++ b/tests/languages/excel-formula/comment_feature.test @@ -0,0 +1,10 @@ +N("comment") + +---------------------------------------------------- + +[ + ["function-name", "N"], + ["punctuation", "("], + ["comment", "\"comment\""], + ["punctuation", ")"] +] diff --git a/tests/languages/factor/comments_feature.test b/tests/languages/factor/comments_feature.test index 5dc45765ea..8dba7827b1 100644 --- a/tests/languages/factor/comments_feature.test +++ b/tests/languages/factor/comments_feature.test @@ -1,6 +1,7 @@ a! ! word !a ! word ! comment +! TODO: something ! bad ! fine ! "also a comment" @@ -28,47 +29,47 @@ ment*/ /* "comment" */ "/* "strings" */" - ---------------------------------------------------- [ - [ "conventionally-named-word", "a!"], - [ "comment", [ "! word" ] ], - [ "normal-word", "!a"], - [ "comment", [ "! word" ] ], - [ "comment", [ "! comment" ] ], + ["conventionally-named-word", "a!"], + ["comment", ["! word"]], + ["normal-word", "!a"], + ["comment", ["! word"]], + ["comment", ["! comment"]], + ["comment", [ + "! ", + ["function", "TODO"], + ": something" + ]], + ["normal-word", "!"], + ["normal-word", "bad"], + ["comment", ["! \tfine"]], + ["comment", ["! \"also a comment\""]], + ["comment", ["! : ( -- ) ;"]], + ["comment", ["! ! leading comment-like token"]], + ["comment", ["! whitespace before"]], + ["normal-word", "words"], + ["normal-word", "blah"], + ["comment", ["! comment after code on a line"]], - [ "normal-word", "!" ], [ "normal-word", "bad" ], - [ "comment", [ "! \tfine" ] ], + ["comment", ["![[ comment ]]"]], + ["string", ["\"![[ string ]]\""]], + ["comment", ["![[ \"comment\" ]]"]], - [ "comment", [ "! \"also a comment\"" ] ], - [ "comment", [ "! : ( -- ) ;" ] ], - [ "comment", [ "! ! leading comment-like token" ] ], - [ "comment", [ "! whitespace before" ] ], - [ "normal-word", "words" ], - [ "normal-word", "blah" ], - [ "comment", [ "! comment after code on a line" ] ], + ["comment", ["![[ comment]]"]], + ["comment", ["![==[ comment ]==]"]], + ["comment", ["![==[ comment]==]"]], + ["normal-word", "![=[word"], + ["normal-word", "]=]"], + ["normal-word", "![=======["], + ["normal-word", "words"], + ["normal-word", "]=======]"], - [ "comment", [ "![[ comment ]]" ] ], - [ "string", [ "\"![[ string ]]\"" ] ], - [ "comment", [ "![[ \"comment\" ]]" ] ], - [ "comment", [ "![[ comment]]" ] ], - [ "comment", [ "![==[ comment ]==]" ] ], - [ "comment", [ "![==[ comment]==]" ] ], + ["comment", ["/* com\r\nment */"]], + ["comment", ["/* com\r\nment*/"]], + ["normal-word", "/*word"], ["normal-word", "*/"], - [ "normal-word", "![=[word" ], - [ "normal-word", "]=]" ], - [ "normal-word", "![=======[" ], - [ "normal-word", "words" ], - [ "normal-word", "]=======]" ], - [ "comment", [ "/* com\r\nment */" ] ], - [ "comment", [ "/* com\r\nment*/" ] ], - [ "normal-word", "/*word" ], - [ "normal-word", "*/" ], - [ "comment", ["/* \"comment\" */"] ], - [ "string", ["\"/* \""] ], - "strings", - [ "string", ["\" */\""] ] + ["comment", ["/* \"comment\" */"]], + ["string", ["\"/* \""]], "strings", ["string", ["\" */\""]] ] - ----------------------------------------------------- diff --git a/tests/languages/factor/numbers_feature.test b/tests/languages/factor/numbers_feature.test index 3526183d87..304f3d821c 100644 --- a/tests/languages/factor/numbers_feature.test +++ b/tests/languages/factor/numbers_feature.test @@ -8,42 +8,54 @@ NAN: 80000deadbeef ---------------------------------------------------- +0x1.0p3 +0b1.010p2 +0x1.p1 + +---------------------------------------------------- [ - [ "number", "5" ], - [ "number", "1/5" ], - [ "number", "+9" ], - [ "number", "-9" ], - [ "number", "+1/5" ], - [ "number", "-1/5" ], - [ "number", "23+1/5" ], - [ "number", "-23-1/5" ], - [ "normal-word", "23-1/5" ], - [ "comment", [ "! last one = word" ] ], - [ "number", "0.01" ], - [ "number", "0e0" ], - [ "number", "3E4" ], - [ "number", "3e-4" ], - [ "number", "3E-4" ], - [ "number", "030" ], - [ "number", "0xd" ], - [ "number", "0o30" ], - [ "number", "0b1100" ], - [ "number", "-0" ], - [ "number", "-0.01" ], - [ "number", "-0e0" ], - [ "number", "-3E4" ], - [ "number", "-3E-4" ], - [ "number", "-030" ], - [ "number", "-0xd" ], - [ "number", "-0o30" ], - [ "number", "-0b1100" ], - [ "number", "348756424956392657834385437598743583648756332457" ], - [ "number", "-348756424956392657834385437598743583648756332457" ], - [ "number", "NAN: 80000deadbeef" ] + ["number", "5"], + ["number", "1/5"], + ["number", "+9"], + ["number", "-9"], + ["number", "+1/5"], + ["number", "-1/5"], + ["number", "23+1/5"], + ["number", "-23-1/5"], + ["normal-word", "23-1/5"], + ["comment", ["! last one = word"]], + + ["number", "0.01"], + ["number", "0e0"], + ["number", "3E4"], + ["number", "3e-4"], + ["number", "3E-4"], + ["number", "030"], + ["number", "0xd"], + ["number", "0o30"], + ["number", "0b1100"], + + ["number", "-0"], + ["number", "-0.01"], + ["number", "-0e0"], + ["number", "-3E4"], + ["number", "-3E-4"], + ["number", "-030"], + ["number", "-0xd"], + ["number", "-0o30"], + ["number", "-0b1100"], + + ["number", "348756424956392657834385437598743583648756332457"], + ["number", "-348756424956392657834385437598743583648756332457"], + + ["number", "NAN: 80000deadbeef"], + + ["number", "0x1.0p3"], + ["number", "0b1.010p2"], + ["number", "0x1.p1"] ] ---------------------------------------------------- +---------------------------------------------------- numbers diff --git a/tests/languages/factor/strings_feature.test b/tests/languages/factor/strings_feature.test index 94e77b0c3f..08d7a3fc3b 100644 --- a/tests/languages/factor/strings_feature.test +++ b/tests/languages/factor/strings_feature.test @@ -19,6 +19,8 @@ "+5" "-5" +"sssssh" "(" ")" surround . + HEREDOC: marker text \n marker @@ -40,88 +42,81 @@ P" " P"" P" as\\"" ----------------------------------------------------------- +---------------------------------------------------- [ - [ "string", ["\"s\""] ], - [ "normal-word", "word\"word\"" ], - [ "comment", ["! word: word\"word\""] ], - [ "string", ["\"adjacent\""] ], - [ "string", ["\"strings\""] ], - [ "string", ["\" ! str not comment\""] ], - [ "comment", ["! comment"] ], - - [ "string", ["\"!\""] ], - [ "string", ["\" ! \""] ], - [ "string", ["\"! \""] ], - - [ "string", [ + ["string", ["\"s\""]], + ["normal-word", "word\"word\""], + ["comment", ["! word: word\"word\""]], + ["string", ["\"adjacent\""]], + ["string", ["\"strings\""]], + ["string", ["\" ! str not comment\""]], + ["comment", ["! comment"]], + ["string", ["\"!\""]], + ["string", ["\" ! \""]], + ["string", ["\"! \""]], + + ["string", [ "\"", - [ "number", "\\\"" ], + ["number", "\\\""], "\"" - ] ], - [ "string", ["\"'\""] ], - [ "string", [ + ]], + ["string", ["\"'\""]], + ["string", [ "\"", ["number", "\\n"], "\"" - ] ], - [ "string", ["\"", ["number", "\\\\"], "\""] ], - - [ "string", ["\"str\""] ], - "5\r\n", + ]], + ["string", [ + "\"", + ["number", "\\\\"], + "\"" + ]], + + ["string", ["\"str\""]], "5\r\n", + ["string", ["\"str\""]], "[ ", ["quotation-delimiter", "]"], + ["string", ["\"str\""]], "{ ", ["curly-brace-literal-delimiter", "}"], + ["curly-brace-literal-delimiter", "{"], ["string", ["\"a\""]], "}\r\n", + ["string", ["\"5\""]], + ["string", ["\"1/5\""]], + ["string", ["\"+5\""]], + ["string", ["\"-5\""]], + + ["string", ["\"sssssh\""]], + ["string", ["\"(\""]], + ["string", ["\")\""]], + ["sequences-builtin", "surround"], + ["normal-word", "."], + + ["multiline-string", [ + "HEREDOC: marker\r\ntext ", ["number", "\\n"], + "\r\nmarker" + ]], - ["string", ["\"str\""] ], - "[ ", - [ "quotation-delimiter", "]" ], + ["multiline-string", [ + "STRING: name\r\ntext ", ["number", "\\n"], + ["semicolon-or-setlocal", ";"] + ]], - [ "string", ["\"str\""] ], - "{ ", - [ "curly-brace-literal-delimiter", "}" ], + ["multiline-string", ["[[ string ]]"]], + ["multiline-string", ["[[ string]]"]], + ["multiline-string", ["[==[ string ]==]"]], + ["multiline-string", ["[==[ string]==]"]], - [ "curly-brace-literal-delimiter", "{" ], - [ "string", ["\"a\""] ], - "}\r\n", + ["normal-word", "[[word"], ["normal-word", "]]"], - [ "string", ["\"5\""] ], - [ "string", ["\"1/5\""] ], - [ "string", ["\"+5\""] ], - [ "string", ["\"-5\""] ], + ["custom-string", ["URL\" \""]], ["normal-word", "URL\"\""], + ["custom-string", ["SBUF\" \""]], ["normal-word", "SBUF\"\""], + ["custom-string", ["P\" \""]], ["normal-word", "P\"\""], - [ "multiline-string", [ - "HEREDOC: marker\r\ntext ", - [ "number", "\\n" ], - "\r\nmarker" - ] ], - - [ "multiline-string", [ - "STRING: name\r\ntext ", - [ "number", "\\n" ], - [ "semicolon-or-setlocal", ";" ] - ] ], - - [ "multiline-string", [ "[[ string ]]" ] ], - [ "multiline-string", [ "[[ string]]" ] ], - [ "multiline-string", [ "[==[ string ]==]" ] ], - [ "multiline-string", [ "[==[ string]==]" ] ], - [ "normal-word", "[[word" ], - [ "normal-word", "]]" ], - [ "custom-string", ["URL\" \""] ], - [ "normal-word", "URL\"\"" ], - - [ "custom-string", ["SBUF\" \""] ], - [ "normal-word", "SBUF\"\"" ], - - [ "custom-string", ["P\" \""] ], - [ "normal-word", "P\"\"" ], - [ "custom-string", [ + ["custom-string", [ "P\" as", - [ "number", "\\\\" ], + ["number", "\\\\"], "\"" - ] ], + ]], "\"" ] ----------------------------------------------------------- +---------------------------------------------------- string kinds diff --git a/tests/languages/false/non-standard_feature.test b/tests/languages/false/non-standard_feature.test new file mode 100644 index 0000000000..6558de0240 --- /dev/null +++ b/tests/languages/false/non-standard_feature.test @@ -0,0 +1,13 @@ +( ) < B D O ® + +---------------------------------------------------- + +[ + ["non-standard", "("], + ["non-standard", ")"], + ["non-standard", "<"], + ["non-standard", "B"], + ["non-standard", "D"], + ["non-standard", "O"], + ["non-standard", "®"] +] diff --git a/tests/languages/firestore-security-rules/path_feature.test b/tests/languages/firestore-security-rules/path_feature.test index 1ff01e6dc6..be4ec96aaf 100644 --- a/tests/languages/firestore-security-rules/path_feature.test +++ b/tests/languages/firestore-security-rules/path_feature.test @@ -5,6 +5,7 @@ /foo/{x}/{y}/{z}/bar /foo/$(x)/$(y)/bar/$(request.auth.uid) +/cities/{document=**} ---------------------------------------------------- @@ -15,6 +16,7 @@ ["punctuation", "/"], "foo" ]], + ["path", [ ["punctuation", "/"], "foo", @@ -61,6 +63,7 @@ ["punctuation", "/"], "bar" ]], + ["path", [ ["punctuation", "/"], "foo", @@ -91,6 +94,18 @@ "uid", ["punctuation", ")"] ]] + ]], + ["path", [ + ["punctuation", "/"], + "cities", + ["punctuation", "/"], + ["variable", [ + ["punctuation", "{"], + "document", + ["operator", "="], + ["keyword", "**"], + ["punctuation", "}"] + ]] ]] ] diff --git a/tests/languages/fortran/punctuation_feature.test b/tests/languages/fortran/punctuation_feature.test new file mode 100644 index 0000000000..62b123306d --- /dev/null +++ b/tests/languages/fortran/punctuation_feature.test @@ -0,0 +1,15 @@ +(/ /) +( ) , ; : & + +---------------------------------------------------- + +[ + ["punctuation", "(/"], + ["punctuation", "/)"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ","], + ["punctuation", ";"], + ["punctuation", ":"], + ["punctuation", "&"] +] diff --git a/tests/languages/ftl/directive_feature.test b/tests/languages/ftl/directive_feature.test index 783c3027b2..42a0c5f0d0 100644 --- a/tests/languages/ftl/directive_feature.test +++ b/tests/languages/ftl/directive_feature.test @@ -1,3 +1,5 @@ +<#import "/libs/commons.ftl" as com> + <#if a < b> a is less than b <#elseif (a > b)> @@ -12,6 +14,19 @@ ---------------------------------------------------- [ + ["ftl", [ + ["ftl-directive", [ + ["punctuation", "<"], + ["directive", "#import"], + ["content", [ + ["string", ["\"/libs/commons.ftl\""]], + ["keyword", "as"], + " com" + ]], + ["punctuation", ">"] + ]] + ]], + ["ftl", [ ["ftl-directive", [ ["punctuation", "<"], @@ -70,6 +85,7 @@ ["punctuation", ">"] ]] ]], + ["ftl", [ ["ftl-directive", [ ["punctuation", "<"], diff --git a/tests/languages/gdscript/number_feature.test b/tests/languages/gdscript/number_feature.test index 00ad250b01..32f37f2275 100644 --- a/tests/languages/gdscript/number_feature.test +++ b/tests/languages/gdscript/number_feature.test @@ -11,12 +11,13 @@ 0xBAD_FACE 0b_0010_0010_0100_0100 +INF NAN PI TAU + ---------------------------------------------------- [ ["number", "123"], - ["operator", "-"], - ["number", "123"], + ["operator", "-"], ["number", "123"], ["number", "123.456"], ["number", ".5"], ["number", "1.2e-34"], @@ -26,7 +27,9 @@ ["number", "1_000_000_000_000"], ["number", "0xBAD_FACE"], - ["number", "0b_0010_0010_0100_0100"] + ["number", "0b_0010_0010_0100_0100"], + + ["number", "INF"], ["number", "NAN"], ["number", "PI"], ["number", "TAU"] ] ---------------------------------------------------- diff --git a/tests/languages/haml/filter_feature.test b/tests/languages/haml/filter_feature.test new file mode 100644 index 0000000000..834d2ede5f --- /dev/null +++ b/tests/languages/haml/filter_feature.test @@ -0,0 +1,20 @@ +:some-language + some code + +~ + :some-language + some code + +---------------------------------------------------- + +[ + ["filter", [ + ["filter-name", ":some-language"], + "\r\n\tsome code\r\n\r" + ]], + ["punctuation", "~"], + ["filter", [ + ["filter-name", ":some-language"], + "\r\n\t\tsome code" + ]] +] diff --git a/tests/languages/hcl/interpolation_feature.test b/tests/languages/hcl/interpolation_feature.test index fc2b9b79f6..0a8f50eb37 100644 --- a/tests/languages/hcl/interpolation_feature.test +++ b/tests/languages/hcl/interpolation_feature.test @@ -8,199 +8,246 @@ "${replace(var.sub_domain, ".", "\\\\\\\\.")}" "${filepath.foo}" +// keywords +"${terraform}" +"${var}" +"${self}" +"${count}" +"${module}" +"${path}" +"${data}" +"${local}" + ---------------------------------------------------- [ - ["string", - [ - "\"", - [ - "interpolation", - [ - ["punctuation", "$"], - ["punctuation", "{"], - ["keyword", "data"], - ["punctuation", "."], - ["type", "aws_availability_zones"], - ["punctuation", "."], - "available", - ["punctuation", "."], - "names", - ["punctuation", "["], - ["number", "0"], - ["punctuation", "]"], - ["punctuation", "}"] - ] - ], - "\"" - ] - ], - ["string", - [ - "\"", - [ - "interpolation", - [ - ["punctuation", "$"], - ["punctuation", "{"], - "aws_db_subnet_group", - ["punctuation", "."], - "default", - ["punctuation", "."], - "id", - ["punctuation", "}"] - ] - ], - "\"" - ] - ], - ["string", - [ - "\"", - [ - "interpolation", - [ - ["punctuation", "$"], - ["punctuation", "{"], - ["keyword", "var"], - ["punctuation", "."], - ["type", "something"], - ["punctuation", "?"], - ["number", "1"], - ["punctuation", ":"], - ["number", "0"], - ["punctuation", "}"] - ] - ], - "\"" - ] - ], - ["string", - [ - "\"", - [ - "interpolation", - [ - ["punctuation", "$"], - ["punctuation", "{"], - ["keyword", "var"], - ["punctuation", "."], - ["type", "num"], - ["punctuation", "?"], - ["number", "1.02"], - ["punctuation", ":"], - ["number", "0"], - ["punctuation", "}"] - ] - ], - "\"" - ] - ], - ["string", - [ - "\"", - [ - "interpolation", - [ - ["punctuation", "$"], - ["punctuation", "{"], - ["function", "length"], - ["punctuation", "("], - ["keyword", "var"], - ["punctuation", "."], - ["type", "hostnames"], - ["punctuation", ")"], - ["punctuation", "}"] - ] - ], - "\"" - ] - ], - ["string", - [ - "\"", - [ - "interpolation", - [ - ["punctuation", "$"], - ["punctuation", "{"], - ["function", "format"], - ["punctuation", "("], - ["string", "\"web-%03d\""], - ["punctuation", ","], - ["keyword", "count"], - ["punctuation", "."], - ["type", "index"], - ["punctuation", "+"], - ["number", "1"], - ["punctuation", ")"], - ["punctuation", "}"] - ] - ], - "\"" - ] - ], - ["string", - [ - "\"", - [ - "interpolation", - [ - ["punctuation", "$"], - ["punctuation", "{"], - ["function", "file"], - ["punctuation", "("], - ["string", "\"templates/web_init.tpl\""], - ["punctuation", ")"], - ["punctuation", "}"] - ] - ], - "\"" - ] - ], - ["string", - [ - "\"", - [ - "interpolation", - [ - ["punctuation", "$"], - ["punctuation", "{"], - ["function", "replace"], - ["punctuation", "("], - ["keyword", "var"], - ["punctuation", "."], - ["type", "sub_domain"], - ["punctuation", ","], - ["string", "\".\""], - ["punctuation", ","], - ["string", "\"\\\\\\\\\\\\\\\\.\""], - ["punctuation", ")"], - ["punctuation", "}"] - ] - ], - "\"" - ] - ], - ["string", - [ - "\"", - [ - "interpolation", - [ - ["punctuation", "$"], - ["punctuation", "{"], - "filepath", - ["punctuation", "."], - "foo", - ["punctuation", "}"] - ] - ], - "\"" - ] - ] + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["keyword", "data"], + ["punctuation", "."], + ["type", "aws_availability_zones"], + ["punctuation", "."], + "available", + ["punctuation", "."], + "names", + ["punctuation", "["], + ["number", "0"], + ["punctuation", "]"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + "aws_db_subnet_group", + ["punctuation", "."], + "default", + ["punctuation", "."], + "id", + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["keyword", "var"], + ["punctuation", "."], + ["type", "something"], + ["punctuation", "?"], + ["number", "1"], + ["punctuation", ":"], + ["number", "0"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["keyword", "var"], + ["punctuation", "."], + ["type", "num"], + ["punctuation", "?"], + ["number", "1.02"], + ["punctuation", ":"], + ["number", "0"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["function", "length"], + ["punctuation", "("], + ["keyword", "var"], + ["punctuation", "."], + ["type", "hostnames"], + ["punctuation", ")"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["function", "format"], + ["punctuation", "("], + ["string", "\"web-%03d\""], + ["punctuation", ","], + ["keyword", "count"], + ["punctuation", "."], + ["type", "index"], + ["punctuation", "+"], + ["number", "1"], + ["punctuation", ")"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["function", "file"], + ["punctuation", "("], + ["string", "\"templates/web_init.tpl\""], + ["punctuation", ")"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["function", "replace"], + ["punctuation", "("], + ["keyword", "var"], + ["punctuation", "."], + ["type", "sub_domain"], + ["punctuation", ","], + ["string", "\".\""], + ["punctuation", ","], + ["string", "\"\\\\\\\\\\\\\\\\.\""], + ["punctuation", ")"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + "filepath", + ["punctuation", "."], + "foo", + ["punctuation", "}"] + ]], + "\"" + ]], + + ["comment", "// keywords"], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["keyword", "terraform"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["keyword", "var"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["keyword", "self"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["keyword", "count"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["keyword", "module"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["keyword", "path"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["keyword", "data"], + ["punctuation", "}"] + ]], + "\"" + ]], + ["string", [ + "\"", + ["interpolation", [ + ["punctuation", "$"], + ["punctuation", "{"], + ["keyword", "local"], + ["punctuation", "}"] + ]], + "\"" + ]] ] ---------------------------------------------------- -Checks for all interpolation. \ No newline at end of file +Checks for all interpolation. diff --git a/tests/languages/hlsl/keyword_feature.test b/tests/languages/hlsl/keyword_feature.test index 9af9d38290..6365cd28ed 100644 --- a/tests/languages/hlsl/keyword_feature.test +++ b/tests/languages/hlsl/keyword_feature.test @@ -1,709 +1,709 @@ -asm -asm_fragment -auto -break -case -catch -cbuffer -centroid -char -class -column_major -compile -compile_fragment -const -const_cast -continue -default -delete -discard -do -dynamic_cast -else -enum -explicit -export -extern -for -friend -fxgroup -goto -groupshared -if -in -inline -inout -interface -line -lineadj -linear -long -matrix -mutable -namespace -new -nointerpolation -noperspective -operator -out -packoffset -pass -pixelfragment -point -precise -private -protected -public -register -reinterpret_cast -return -row_major -sample -sampler -shared -short -signed -sizeof -snorm -stateblock -stateblock_state -static -static_cast -string -struct -switch -tbuffer -technique -technique10 -technique11 -template -texture -this -throw -triangle -triangleadj -try -typedef -typename -uniform -union -unorm -unsigned -using -vector -vertexfragment -virtual -void -volatile -while - -bool -bool1 -bool1x1 -bool1x2 -bool1x3 -bool1x4 -bool2 -bool2x1 -bool2x2 -bool2x3 -bool2x4 -bool3 -bool3x1 -bool3x2 -bool3x3 -bool3x4 -bool4 -bool4x1 -bool4x2 -bool4x3 -bool4x4 -double -double1 -double1x1 -double1x2 -double1x3 -double1x4 -double2 -double2x1 -double2x2 -double2x3 -double2x4 -double3 -double3x1 -double3x2 -double3x3 -double3x4 -double4 -double4x1 -double4x2 -double4x3 -double4x4 -dword -dword1 -dword1x1 -dword1x2 -dword1x3 -dword1x4 -dword2 -dword2x1 -dword2x2 -dword2x3 -dword2x4 -dword3 -dword3x1 -dword3x2 -dword3x3 -dword3x4 -dword4 -dword4x1 -dword4x2 -dword4x3 -dword4x4 -float -float1 -float1x1 -float1x2 -float1x3 -float1x4 -float2 -float2x1 -float2x2 -float2x3 -float2x4 -float3 -float3x1 -float3x2 -float3x3 -float3x4 -float4 -float4x1 -float4x2 -float4x3 -float4x4 -half -half1 -half1x1 -half1x2 -half1x3 -half1x4 -half2 -half2x1 -half2x2 -half2x3 -half2x4 -half3 -half3x1 -half3x2 -half3x3 -half3x4 -half4 -half4x1 -half4x2 -half4x3 -half4x4 -int -int1 -int1x1 -int1x2 -int1x3 -int1x4 -int2 -int2x1 -int2x2 -int2x3 -int2x4 -int3 -int3x1 -int3x2 -int3x3 -int3x4 -int4 -int4x1 -int4x2 -int4x3 -int4x4 -min10float -min10float1 -min10float1x1 -min10float1x2 -min10float1x3 -min10float1x4 -min10float2 -min10float2x1 -min10float2x2 -min10float2x3 -min10float2x4 -min10float3 -min10float3x1 -min10float3x2 -min10float3x3 -min10float3x4 -min10float4 -min10float4x1 -min10float4x2 -min10float4x3 -min10float4x4 -min12int -min12int1 -min12int1x1 -min12int1x2 -min12int1x3 -min12int1x4 -min12int2 -min12int2x1 -min12int2x2 -min12int2x3 -min12int2x4 -min12int3 -min12int3x1 -min12int3x2 -min12int3x3 -min12int3x4 -min12int4 -min12int4x1 -min12int4x2 -min12int4x3 -min12int4x4 -min16float -min16float1 -min16float1x1 -min16float1x2 -min16float1x3 -min16float1x4 -min16float2 -min16float2x1 -min16float2x2 -min16float2x3 -min16float2x4 -min16float3 -min16float3x1 -min16float3x2 -min16float3x3 -min16float3x4 -min16float4 -min16float4x1 -min16float4x2 -min16float4x3 -min16float4x4 -min16int -min16int1 -min16int1x1 -min16int1x2 -min16int1x3 -min16int1x4 -min16int2 -min16int2x1 -min16int2x2 -min16int2x3 -min16int2x4 -min16int3 -min16int3x1 -min16int3x2 -min16int3x3 -min16int3x4 -min16int4 -min16int4x1 -min16int4x2 -min16int4x3 -min16int4x4 -min16uint -min16uint1 -min16uint1x1 -min16uint1x2 -min16uint1x3 -min16uint1x4 -min16uint2 -min16uint2x1 -min16uint2x2 -min16uint2x3 -min16uint2x4 -min16uint3 -min16uint3x1 -min16uint3x2 -min16uint3x3 -min16uint3x4 -min16uint4 -min16uint4x1 -min16uint4x2 -min16uint4x3 -min16uint4x4 -uint -uint1 -uint1x1 -uint1x2 -uint1x3 -uint1x4 -uint2 -uint2x1 -uint2x2 -uint2x3 -uint2x4 -uint3 -uint3x1 -uint3x2 -uint3x3 -uint3x4 -uint4 -uint4x1 -uint4x2 -uint4x3 -uint4x4 +asm; +asm_fragment; +auto; +break; +case; +catch; +cbuffer; +centroid; +char; +class; +column_major; +compile; +compile_fragment; +const; +const_cast; +continue; +default; +delete; +discard; +do; +dynamic_cast; +else; +enum; +explicit; +export; +extern; +for; +friend; +fxgroup; +goto; +groupshared; +if; +in; +inline; +inout; +interface; +line; +lineadj; +linear; +long; +matrix; +mutable; +namespace; +new; +nointerpolation; +noperspective; +operator; +out; +packoffset; +pass; +pixelfragment; +point; +precise; +private; +protected; +public; +register; +reinterpret_cast; +return; +row_major; +sample; +sampler; +shared; +short; +signed; +sizeof; +snorm; +stateblock; +stateblock_state; +static; +static_cast; +string; +struct; +switch; +tbuffer; +technique; +technique10; +technique11; +template; +texture; +this; +throw; +triangle; +triangleadj; +try; +typedef; +typename; +uniform; +union; +unorm; +unsigned; +using; +vector; +vertexfragment; +virtual; +void; +volatile; +while; +; +bool; +bool1; +bool1x1; +bool1x2; +bool1x3; +bool1x4; +bool2; +bool2x1; +bool2x2; +bool2x3; +bool2x4; +bool3; +bool3x1; +bool3x2; +bool3x3; +bool3x4; +bool4; +bool4x1; +bool4x2; +bool4x3; +bool4x4; +double; +double1; +double1x1; +double1x2; +double1x3; +double1x4; +double2; +double2x1; +double2x2; +double2x3; +double2x4; +double3; +double3x1; +double3x2; +double3x3; +double3x4; +double4; +double4x1; +double4x2; +double4x3; +double4x4; +dword; +dword1; +dword1x1; +dword1x2; +dword1x3; +dword1x4; +dword2; +dword2x1; +dword2x2; +dword2x3; +dword2x4; +dword3; +dword3x1; +dword3x2; +dword3x3; +dword3x4; +dword4; +dword4x1; +dword4x2; +dword4x3; +dword4x4; +float; +float1; +float1x1; +float1x2; +float1x3; +float1x4; +float2; +float2x1; +float2x2; +float2x3; +float2x4; +float3; +float3x1; +float3x2; +float3x3; +float3x4; +float4; +float4x1; +float4x2; +float4x3; +float4x4; +half; +half1; +half1x1; +half1x2; +half1x3; +half1x4; +half2; +half2x1; +half2x2; +half2x3; +half2x4; +half3; +half3x1; +half3x2; +half3x3; +half3x4; +half4; +half4x1; +half4x2; +half4x3; +half4x4; +int; +int1; +int1x1; +int1x2; +int1x3; +int1x4; +int2; +int2x1; +int2x2; +int2x3; +int2x4; +int3; +int3x1; +int3x2; +int3x3; +int3x4; +int4; +int4x1; +int4x2; +int4x3; +int4x4; +min10float; +min10float1; +min10float1x1; +min10float1x2; +min10float1x3; +min10float1x4; +min10float2; +min10float2x1; +min10float2x2; +min10float2x3; +min10float2x4; +min10float3; +min10float3x1; +min10float3x2; +min10float3x3; +min10float3x4; +min10float4; +min10float4x1; +min10float4x2; +min10float4x3; +min10float4x4; +min12int; +min12int1; +min12int1x1; +min12int1x2; +min12int1x3; +min12int1x4; +min12int2; +min12int2x1; +min12int2x2; +min12int2x3; +min12int2x4; +min12int3; +min12int3x1; +min12int3x2; +min12int3x3; +min12int3x4; +min12int4; +min12int4x1; +min12int4x2; +min12int4x3; +min12int4x4; +min16float; +min16float1; +min16float1x1; +min16float1x2; +min16float1x3; +min16float1x4; +min16float2; +min16float2x1; +min16float2x2; +min16float2x3; +min16float2x4; +min16float3; +min16float3x1; +min16float3x2; +min16float3x3; +min16float3x4; +min16float4; +min16float4x1; +min16float4x2; +min16float4x3; +min16float4x4; +min16int; +min16int1; +min16int1x1; +min16int1x2; +min16int1x3; +min16int1x4; +min16int2; +min16int2x1; +min16int2x2; +min16int2x3; +min16int2x4; +min16int3; +min16int3x1; +min16int3x2; +min16int3x3; +min16int3x4; +min16int4; +min16int4x1; +min16int4x2; +min16int4x3; +min16int4x4; +min16uint; +min16uint1; +min16uint1x1; +min16uint1x2; +min16uint1x3; +min16uint1x4; +min16uint2; +min16uint2x1; +min16uint2x2; +min16uint2x3; +min16uint2x4; +min16uint3; +min16uint3x1; +min16uint3x2; +min16uint3x3; +min16uint3x4; +min16uint4; +min16uint4x1; +min16uint4x2; +min16uint4x3; +min16uint4x4; +uint; +uint1; +uint1x1; +uint1x2; +uint1x3; +uint1x4; +uint2; +uint2x1; +uint2x2; +uint2x3; +uint2x4; +uint3; +uint3x1; +uint3x2; +uint3x3; +uint3x4; +uint4; +uint4x1; +uint4x2; +uint4x3; +uint4x4; ---------------------------------------------------- [ - ["keyword", "asm"], - ["keyword", "asm_fragment"], - ["keyword", "auto"], - ["keyword", "break"], - ["keyword", "case"], - ["keyword", "catch"], - ["keyword", "cbuffer"], - ["keyword", "centroid"], - ["keyword", "char"], - ["keyword", "class"], - ["keyword", "column_major"], - ["keyword", "compile"], - ["keyword", "compile_fragment"], - ["keyword", "const"], - ["keyword", "const_cast"], - ["keyword", "continue"], - ["keyword", "default"], - ["keyword", "delete"], - ["keyword", "discard"], - ["keyword", "do"], - ["keyword", "dynamic_cast"], - ["keyword", "else"], - ["keyword", "enum"], - ["class-name", "explicit"], - ["keyword", "export"], - ["keyword", "extern"], - ["keyword", "for"], - ["keyword", "friend"], - ["keyword", "fxgroup"], - ["keyword", "goto"], - ["keyword", "groupshared"], - ["keyword", "if"], - ["keyword", "in"], - ["keyword", "inline"], - ["keyword", "inout"], - ["keyword", "interface"], - ["keyword", "line"], - ["keyword", "lineadj"], - ["keyword", "linear"], - ["keyword", "long"], - ["keyword", "matrix"], - ["keyword", "mutable"], - ["keyword", "namespace"], - ["keyword", "new"], - ["keyword", "nointerpolation"], - ["keyword", "noperspective"], - ["keyword", "operator"], - ["keyword", "out"], - ["keyword", "packoffset"], - ["keyword", "pass"], - ["keyword", "pixelfragment"], - ["keyword", "point"], - ["keyword", "precise"], - ["keyword", "private"], - ["keyword", "protected"], - ["keyword", "public"], - ["keyword", "register"], - ["keyword", "reinterpret_cast"], - ["keyword", "return"], - ["keyword", "row_major"], - ["keyword", "sample"], - ["keyword", "sampler"], - ["keyword", "shared"], - ["keyword", "short"], - ["keyword", "signed"], - ["keyword", "sizeof"], - ["keyword", "snorm"], - ["keyword", "stateblock"], - ["keyword", "stateblock_state"], - ["keyword", "static"], - ["keyword", "static_cast"], - ["keyword", "string"], - ["keyword", "struct"], - ["class-name", "switch"], - ["keyword", "tbuffer"], - ["keyword", "technique"], - ["keyword", "technique10"], - ["keyword", "technique11"], - ["keyword", "template"], - ["keyword", "texture"], - ["keyword", "this"], - ["keyword", "throw"], - ["keyword", "triangle"], - ["keyword", "triangleadj"], - ["keyword", "try"], - ["keyword", "typedef"], - ["keyword", "typename"], - ["keyword", "uniform"], - ["keyword", "union"], - ["keyword", "unorm"], - ["keyword", "unsigned"], - ["keyword", "using"], - ["keyword", "vector"], - ["keyword", "vertexfragment"], - ["keyword", "virtual"], - ["keyword", "void"], - ["keyword", "volatile"], - ["keyword", "while"], - - ["keyword", "bool"], - ["keyword", "bool1"], - ["keyword", "bool1x1"], - ["keyword", "bool1x2"], - ["keyword", "bool1x3"], - ["keyword", "bool1x4"], - ["keyword", "bool2"], - ["keyword", "bool2x1"], - ["keyword", "bool2x2"], - ["keyword", "bool2x3"], - ["keyword", "bool2x4"], - ["keyword", "bool3"], - ["keyword", "bool3x1"], - ["keyword", "bool3x2"], - ["keyword", "bool3x3"], - ["keyword", "bool3x4"], - ["keyword", "bool4"], - ["keyword", "bool4x1"], - ["keyword", "bool4x2"], - ["keyword", "bool4x3"], - ["keyword", "bool4x4"], - ["keyword", "double"], - ["keyword", "double1"], - ["keyword", "double1x1"], - ["keyword", "double1x2"], - ["keyword", "double1x3"], - ["keyword", "double1x4"], - ["keyword", "double2"], - ["keyword", "double2x1"], - ["keyword", "double2x2"], - ["keyword", "double2x3"], - ["keyword", "double2x4"], - ["keyword", "double3"], - ["keyword", "double3x1"], - ["keyword", "double3x2"], - ["keyword", "double3x3"], - ["keyword", "double3x4"], - ["keyword", "double4"], - ["keyword", "double4x1"], - ["keyword", "double4x2"], - ["keyword", "double4x3"], - ["keyword", "double4x4"], - ["keyword", "dword"], - ["keyword", "dword1"], - ["keyword", "dword1x1"], - ["keyword", "dword1x2"], - ["keyword", "dword1x3"], - ["keyword", "dword1x4"], - ["keyword", "dword2"], - ["keyword", "dword2x1"], - ["keyword", "dword2x2"], - ["keyword", "dword2x3"], - ["keyword", "dword2x4"], - ["keyword", "dword3"], - ["keyword", "dword3x1"], - ["keyword", "dword3x2"], - ["keyword", "dword3x3"], - ["keyword", "dword3x4"], - ["keyword", "dword4"], - ["keyword", "dword4x1"], - ["keyword", "dword4x2"], - ["keyword", "dword4x3"], - ["keyword", "dword4x4"], - ["keyword", "float"], - ["keyword", "float1"], - ["keyword", "float1x1"], - ["keyword", "float1x2"], - ["keyword", "float1x3"], - ["keyword", "float1x4"], - ["keyword", "float2"], - ["keyword", "float2x1"], - ["keyword", "float2x2"], - ["keyword", "float2x3"], - ["keyword", "float2x4"], - ["keyword", "float3"], - ["keyword", "float3x1"], - ["keyword", "float3x2"], - ["keyword", "float3x3"], - ["keyword", "float3x4"], - ["keyword", "float4"], - ["keyword", "float4x1"], - ["keyword", "float4x2"], - ["keyword", "float4x3"], - ["keyword", "float4x4"], - ["keyword", "half"], - ["keyword", "half1"], - ["keyword", "half1x1"], - ["keyword", "half1x2"], - ["keyword", "half1x3"], - ["keyword", "half1x4"], - ["keyword", "half2"], - ["keyword", "half2x1"], - ["keyword", "half2x2"], - ["keyword", "half2x3"], - ["keyword", "half2x4"], - ["keyword", "half3"], - ["keyword", "half3x1"], - ["keyword", "half3x2"], - ["keyword", "half3x3"], - ["keyword", "half3x4"], - ["keyword", "half4"], - ["keyword", "half4x1"], - ["keyword", "half4x2"], - ["keyword", "half4x3"], - ["keyword", "half4x4"], - ["keyword", "int"], - ["keyword", "int1"], - ["keyword", "int1x1"], - ["keyword", "int1x2"], - ["keyword", "int1x3"], - ["keyword", "int1x4"], - ["keyword", "int2"], - ["keyword", "int2x1"], - ["keyword", "int2x2"], - ["keyword", "int2x3"], - ["keyword", "int2x4"], - ["keyword", "int3"], - ["keyword", "int3x1"], - ["keyword", "int3x2"], - ["keyword", "int3x3"], - ["keyword", "int3x4"], - ["keyword", "int4"], - ["keyword", "int4x1"], - ["keyword", "int4x2"], - ["keyword", "int4x3"], - ["keyword", "int4x4"], - ["keyword", "min10float"], - ["keyword", "min10float1"], - ["keyword", "min10float1x1"], - ["keyword", "min10float1x2"], - ["keyword", "min10float1x3"], - ["keyword", "min10float1x4"], - ["keyword", "min10float2"], - ["keyword", "min10float2x1"], - ["keyword", "min10float2x2"], - ["keyword", "min10float2x3"], - ["keyword", "min10float2x4"], - ["keyword", "min10float3"], - ["keyword", "min10float3x1"], - ["keyword", "min10float3x2"], - ["keyword", "min10float3x3"], - ["keyword", "min10float3x4"], - ["keyword", "min10float4"], - ["keyword", "min10float4x1"], - ["keyword", "min10float4x2"], - ["keyword", "min10float4x3"], - ["keyword", "min10float4x4"], - ["keyword", "min12int"], - ["keyword", "min12int1"], - ["keyword", "min12int1x1"], - ["keyword", "min12int1x2"], - ["keyword", "min12int1x3"], - ["keyword", "min12int1x4"], - ["keyword", "min12int2"], - ["keyword", "min12int2x1"], - ["keyword", "min12int2x2"], - ["keyword", "min12int2x3"], - ["keyword", "min12int2x4"], - ["keyword", "min12int3"], - ["keyword", "min12int3x1"], - ["keyword", "min12int3x2"], - ["keyword", "min12int3x3"], - ["keyword", "min12int3x4"], - ["keyword", "min12int4"], - ["keyword", "min12int4x1"], - ["keyword", "min12int4x2"], - ["keyword", "min12int4x3"], - ["keyword", "min12int4x4"], - ["keyword", "min16float"], - ["keyword", "min16float1"], - ["keyword", "min16float1x1"], - ["keyword", "min16float1x2"], - ["keyword", "min16float1x3"], - ["keyword", "min16float1x4"], - ["keyword", "min16float2"], - ["keyword", "min16float2x1"], - ["keyword", "min16float2x2"], - ["keyword", "min16float2x3"], - ["keyword", "min16float2x4"], - ["keyword", "min16float3"], - ["keyword", "min16float3x1"], - ["keyword", "min16float3x2"], - ["keyword", "min16float3x3"], - ["keyword", "min16float3x4"], - ["keyword", "min16float4"], - ["keyword", "min16float4x1"], - ["keyword", "min16float4x2"], - ["keyword", "min16float4x3"], - ["keyword", "min16float4x4"], - ["keyword", "min16int"], - ["keyword", "min16int1"], - ["keyword", "min16int1x1"], - ["keyword", "min16int1x2"], - ["keyword", "min16int1x3"], - ["keyword", "min16int1x4"], - ["keyword", "min16int2"], - ["keyword", "min16int2x1"], - ["keyword", "min16int2x2"], - ["keyword", "min16int2x3"], - ["keyword", "min16int2x4"], - ["keyword", "min16int3"], - ["keyword", "min16int3x1"], - ["keyword", "min16int3x2"], - ["keyword", "min16int3x3"], - ["keyword", "min16int3x4"], - ["keyword", "min16int4"], - ["keyword", "min16int4x1"], - ["keyword", "min16int4x2"], - ["keyword", "min16int4x3"], - ["keyword", "min16int4x4"], - ["keyword", "min16uint"], - ["keyword", "min16uint1"], - ["keyword", "min16uint1x1"], - ["keyword", "min16uint1x2"], - ["keyword", "min16uint1x3"], - ["keyword", "min16uint1x4"], - ["keyword", "min16uint2"], - ["keyword", "min16uint2x1"], - ["keyword", "min16uint2x2"], - ["keyword", "min16uint2x3"], - ["keyword", "min16uint2x4"], - ["keyword", "min16uint3"], - ["keyword", "min16uint3x1"], - ["keyword", "min16uint3x2"], - ["keyword", "min16uint3x3"], - ["keyword", "min16uint3x4"], - ["keyword", "min16uint4"], - ["keyword", "min16uint4x1"], - ["keyword", "min16uint4x2"], - ["keyword", "min16uint4x3"], - ["keyword", "min16uint4x4"], - ["keyword", "uint"], - ["keyword", "uint1"], - ["keyword", "uint1x1"], - ["keyword", "uint1x2"], - ["keyword", "uint1x3"], - ["keyword", "uint1x4"], - ["keyword", "uint2"], - ["keyword", "uint2x1"], - ["keyword", "uint2x2"], - ["keyword", "uint2x3"], - ["keyword", "uint2x4"], - ["keyword", "uint3"], - ["keyword", "uint3x1"], - ["keyword", "uint3x2"], - ["keyword", "uint3x3"], - ["keyword", "uint3x4"], - ["keyword", "uint4"], - ["keyword", "uint4x1"], - ["keyword", "uint4x2"], - ["keyword", "uint4x3"], - ["keyword", "uint4x4"] + ["keyword", "asm"], ["punctuation", ";"], + ["keyword", "asm_fragment"], ["punctuation", ";"], + ["keyword", "auto"], ["punctuation", ";"], + ["keyword", "break"], ["punctuation", ";"], + ["keyword", "case"], ["punctuation", ";"], + ["keyword", "catch"], ["punctuation", ";"], + ["keyword", "cbuffer"], ["punctuation", ";"], + ["keyword", "centroid"], ["punctuation", ";"], + ["keyword", "char"], ["punctuation", ";"], + ["keyword", "class"], ["punctuation", ";"], + ["keyword", "column_major"], ["punctuation", ";"], + ["keyword", "compile"], ["punctuation", ";"], + ["keyword", "compile_fragment"], ["punctuation", ";"], + ["keyword", "const"], ["punctuation", ";"], + ["keyword", "const_cast"], ["punctuation", ";"], + ["keyword", "continue"], ["punctuation", ";"], + ["keyword", "default"], ["punctuation", ";"], + ["keyword", "delete"], ["punctuation", ";"], + ["keyword", "discard"], ["punctuation", ";"], + ["keyword", "do"], ["punctuation", ";"], + ["keyword", "dynamic_cast"], ["punctuation", ";"], + ["keyword", "else"], ["punctuation", ";"], + ["keyword", "enum"], ["punctuation", ";"], + ["keyword", "explicit"], ["punctuation", ";"], + ["keyword", "export"], ["punctuation", ";"], + ["keyword", "extern"], ["punctuation", ";"], + ["keyword", "for"], ["punctuation", ";"], + ["keyword", "friend"], ["punctuation", ";"], + ["keyword", "fxgroup"], ["punctuation", ";"], + ["keyword", "goto"], ["punctuation", ";"], + ["keyword", "groupshared"], ["punctuation", ";"], + ["keyword", "if"], ["punctuation", ";"], + ["keyword", "in"], ["punctuation", ";"], + ["keyword", "inline"], ["punctuation", ";"], + ["keyword", "inout"], ["punctuation", ";"], + ["keyword", "interface"], ["punctuation", ";"], + ["keyword", "line"], ["punctuation", ";"], + ["keyword", "lineadj"], ["punctuation", ";"], + ["keyword", "linear"], ["punctuation", ";"], + ["keyword", "long"], ["punctuation", ";"], + ["keyword", "matrix"], ["punctuation", ";"], + ["keyword", "mutable"], ["punctuation", ";"], + ["keyword", "namespace"], ["punctuation", ";"], + ["keyword", "new"], ["punctuation", ";"], + ["keyword", "nointerpolation"], ["punctuation", ";"], + ["keyword", "noperspective"], ["punctuation", ";"], + ["keyword", "operator"], ["punctuation", ";"], + ["keyword", "out"], ["punctuation", ";"], + ["keyword", "packoffset"], ["punctuation", ";"], + ["keyword", "pass"], ["punctuation", ";"], + ["keyword", "pixelfragment"], ["punctuation", ";"], + ["keyword", "point"], ["punctuation", ";"], + ["keyword", "precise"], ["punctuation", ";"], + ["keyword", "private"], ["punctuation", ";"], + ["keyword", "protected"], ["punctuation", ";"], + ["keyword", "public"], ["punctuation", ";"], + ["keyword", "register"], ["punctuation", ";"], + ["keyword", "reinterpret_cast"], ["punctuation", ";"], + ["keyword", "return"], ["punctuation", ";"], + ["keyword", "row_major"], ["punctuation", ";"], + ["keyword", "sample"], ["punctuation", ";"], + ["keyword", "sampler"], ["punctuation", ";"], + ["keyword", "shared"], ["punctuation", ";"], + ["keyword", "short"], ["punctuation", ";"], + ["keyword", "signed"], ["punctuation", ";"], + ["keyword", "sizeof"], ["punctuation", ";"], + ["keyword", "snorm"], ["punctuation", ";"], + ["keyword", "stateblock"], ["punctuation", ";"], + ["keyword", "stateblock_state"], ["punctuation", ";"], + ["keyword", "static"], ["punctuation", ";"], + ["keyword", "static_cast"], ["punctuation", ";"], + ["keyword", "string"], ["punctuation", ";"], + ["keyword", "struct"], ["punctuation", ";"], + ["keyword", "switch"], ["punctuation", ";"], + ["keyword", "tbuffer"], ["punctuation", ";"], + ["keyword", "technique"], ["punctuation", ";"], + ["keyword", "technique10"], ["punctuation", ";"], + ["keyword", "technique11"], ["punctuation", ";"], + ["keyword", "template"], ["punctuation", ";"], + ["keyword", "texture"], ["punctuation", ";"], + ["keyword", "this"], ["punctuation", ";"], + ["keyword", "throw"], ["punctuation", ";"], + ["keyword", "triangle"], ["punctuation", ";"], + ["keyword", "triangleadj"], ["punctuation", ";"], + ["keyword", "try"], ["punctuation", ";"], + ["keyword", "typedef"], ["punctuation", ";"], + ["keyword", "typename"], ["punctuation", ";"], + ["keyword", "uniform"], ["punctuation", ";"], + ["keyword", "union"], ["punctuation", ";"], + ["keyword", "unorm"], ["punctuation", ";"], + ["keyword", "unsigned"], ["punctuation", ";"], + ["keyword", "using"], ["punctuation", ";"], + ["keyword", "vector"], ["punctuation", ";"], + ["keyword", "vertexfragment"], ["punctuation", ";"], + ["keyword", "virtual"], ["punctuation", ";"], + ["keyword", "void"], ["punctuation", ";"], + ["keyword", "volatile"], ["punctuation", ";"], + ["keyword", "while"], ["punctuation", ";"], + ["punctuation", ";"], + ["keyword", "bool"], ["punctuation", ";"], + ["keyword", "bool1"], ["punctuation", ";"], + ["keyword", "bool1x1"], ["punctuation", ";"], + ["keyword", "bool1x2"], ["punctuation", ";"], + ["keyword", "bool1x3"], ["punctuation", ";"], + ["keyword", "bool1x4"], ["punctuation", ";"], + ["keyword", "bool2"], ["punctuation", ";"], + ["keyword", "bool2x1"], ["punctuation", ";"], + ["keyword", "bool2x2"], ["punctuation", ";"], + ["keyword", "bool2x3"], ["punctuation", ";"], + ["keyword", "bool2x4"], ["punctuation", ";"], + ["keyword", "bool3"], ["punctuation", ";"], + ["keyword", "bool3x1"], ["punctuation", ";"], + ["keyword", "bool3x2"], ["punctuation", ";"], + ["keyword", "bool3x3"], ["punctuation", ";"], + ["keyword", "bool3x4"], ["punctuation", ";"], + ["keyword", "bool4"], ["punctuation", ";"], + ["keyword", "bool4x1"], ["punctuation", ";"], + ["keyword", "bool4x2"], ["punctuation", ";"], + ["keyword", "bool4x3"], ["punctuation", ";"], + ["keyword", "bool4x4"], ["punctuation", ";"], + ["keyword", "double"], ["punctuation", ";"], + ["keyword", "double1"], ["punctuation", ";"], + ["keyword", "double1x1"], ["punctuation", ";"], + ["keyword", "double1x2"], ["punctuation", ";"], + ["keyword", "double1x3"], ["punctuation", ";"], + ["keyword", "double1x4"], ["punctuation", ";"], + ["keyword", "double2"], ["punctuation", ";"], + ["keyword", "double2x1"], ["punctuation", ";"], + ["keyword", "double2x2"], ["punctuation", ";"], + ["keyword", "double2x3"], ["punctuation", ";"], + ["keyword", "double2x4"], ["punctuation", ";"], + ["keyword", "double3"], ["punctuation", ";"], + ["keyword", "double3x1"], ["punctuation", ";"], + ["keyword", "double3x2"], ["punctuation", ";"], + ["keyword", "double3x3"], ["punctuation", ";"], + ["keyword", "double3x4"], ["punctuation", ";"], + ["keyword", "double4"], ["punctuation", ";"], + ["keyword", "double4x1"], ["punctuation", ";"], + ["keyword", "double4x2"], ["punctuation", ";"], + ["keyword", "double4x3"], ["punctuation", ";"], + ["keyword", "double4x4"], ["punctuation", ";"], + ["keyword", "dword"], ["punctuation", ";"], + ["keyword", "dword1"], ["punctuation", ";"], + ["keyword", "dword1x1"], ["punctuation", ";"], + ["keyword", "dword1x2"], ["punctuation", ";"], + ["keyword", "dword1x3"], ["punctuation", ";"], + ["keyword", "dword1x4"], ["punctuation", ";"], + ["keyword", "dword2"], ["punctuation", ";"], + ["keyword", "dword2x1"], ["punctuation", ";"], + ["keyword", "dword2x2"], ["punctuation", ";"], + ["keyword", "dword2x3"], ["punctuation", ";"], + ["keyword", "dword2x4"], ["punctuation", ";"], + ["keyword", "dword3"], ["punctuation", ";"], + ["keyword", "dword3x1"], ["punctuation", ";"], + ["keyword", "dword3x2"], ["punctuation", ";"], + ["keyword", "dword3x3"], ["punctuation", ";"], + ["keyword", "dword3x4"], ["punctuation", ";"], + ["keyword", "dword4"], ["punctuation", ";"], + ["keyword", "dword4x1"], ["punctuation", ";"], + ["keyword", "dword4x2"], ["punctuation", ";"], + ["keyword", "dword4x3"], ["punctuation", ";"], + ["keyword", "dword4x4"], ["punctuation", ";"], + ["keyword", "float"], ["punctuation", ";"], + ["keyword", "float1"], ["punctuation", ";"], + ["keyword", "float1x1"], ["punctuation", ";"], + ["keyword", "float1x2"], ["punctuation", ";"], + ["keyword", "float1x3"], ["punctuation", ";"], + ["keyword", "float1x4"], ["punctuation", ";"], + ["keyword", "float2"], ["punctuation", ";"], + ["keyword", "float2x1"], ["punctuation", ";"], + ["keyword", "float2x2"], ["punctuation", ";"], + ["keyword", "float2x3"], ["punctuation", ";"], + ["keyword", "float2x4"], ["punctuation", ";"], + ["keyword", "float3"], ["punctuation", ";"], + ["keyword", "float3x1"], ["punctuation", ";"], + ["keyword", "float3x2"], ["punctuation", ";"], + ["keyword", "float3x3"], ["punctuation", ";"], + ["keyword", "float3x4"], ["punctuation", ";"], + ["keyword", "float4"], ["punctuation", ";"], + ["keyword", "float4x1"], ["punctuation", ";"], + ["keyword", "float4x2"], ["punctuation", ";"], + ["keyword", "float4x3"], ["punctuation", ";"], + ["keyword", "float4x4"], ["punctuation", ";"], + ["keyword", "half"], ["punctuation", ";"], + ["keyword", "half1"], ["punctuation", ";"], + ["keyword", "half1x1"], ["punctuation", ";"], + ["keyword", "half1x2"], ["punctuation", ";"], + ["keyword", "half1x3"], ["punctuation", ";"], + ["keyword", "half1x4"], ["punctuation", ";"], + ["keyword", "half2"], ["punctuation", ";"], + ["keyword", "half2x1"], ["punctuation", ";"], + ["keyword", "half2x2"], ["punctuation", ";"], + ["keyword", "half2x3"], ["punctuation", ";"], + ["keyword", "half2x4"], ["punctuation", ";"], + ["keyword", "half3"], ["punctuation", ";"], + ["keyword", "half3x1"], ["punctuation", ";"], + ["keyword", "half3x2"], ["punctuation", ";"], + ["keyword", "half3x3"], ["punctuation", ";"], + ["keyword", "half3x4"], ["punctuation", ";"], + ["keyword", "half4"], ["punctuation", ";"], + ["keyword", "half4x1"], ["punctuation", ";"], + ["keyword", "half4x2"], ["punctuation", ";"], + ["keyword", "half4x3"], ["punctuation", ";"], + ["keyword", "half4x4"], ["punctuation", ";"], + ["keyword", "int"], ["punctuation", ";"], + ["keyword", "int1"], ["punctuation", ";"], + ["keyword", "int1x1"], ["punctuation", ";"], + ["keyword", "int1x2"], ["punctuation", ";"], + ["keyword", "int1x3"], ["punctuation", ";"], + ["keyword", "int1x4"], ["punctuation", ";"], + ["keyword", "int2"], ["punctuation", ";"], + ["keyword", "int2x1"], ["punctuation", ";"], + ["keyword", "int2x2"], ["punctuation", ";"], + ["keyword", "int2x3"], ["punctuation", ";"], + ["keyword", "int2x4"], ["punctuation", ";"], + ["keyword", "int3"], ["punctuation", ";"], + ["keyword", "int3x1"], ["punctuation", ";"], + ["keyword", "int3x2"], ["punctuation", ";"], + ["keyword", "int3x3"], ["punctuation", ";"], + ["keyword", "int3x4"], ["punctuation", ";"], + ["keyword", "int4"], ["punctuation", ";"], + ["keyword", "int4x1"], ["punctuation", ";"], + ["keyword", "int4x2"], ["punctuation", ";"], + ["keyword", "int4x3"], ["punctuation", ";"], + ["keyword", "int4x4"], ["punctuation", ";"], + ["keyword", "min10float"], ["punctuation", ";"], + ["keyword", "min10float1"], ["punctuation", ";"], + ["keyword", "min10float1x1"], ["punctuation", ";"], + ["keyword", "min10float1x2"], ["punctuation", ";"], + ["keyword", "min10float1x3"], ["punctuation", ";"], + ["keyword", "min10float1x4"], ["punctuation", ";"], + ["keyword", "min10float2"], ["punctuation", ";"], + ["keyword", "min10float2x1"], ["punctuation", ";"], + ["keyword", "min10float2x2"], ["punctuation", ";"], + ["keyword", "min10float2x3"], ["punctuation", ";"], + ["keyword", "min10float2x4"], ["punctuation", ";"], + ["keyword", "min10float3"], ["punctuation", ";"], + ["keyword", "min10float3x1"], ["punctuation", ";"], + ["keyword", "min10float3x2"], ["punctuation", ";"], + ["keyword", "min10float3x3"], ["punctuation", ";"], + ["keyword", "min10float3x4"], ["punctuation", ";"], + ["keyword", "min10float4"], ["punctuation", ";"], + ["keyword", "min10float4x1"], ["punctuation", ";"], + ["keyword", "min10float4x2"], ["punctuation", ";"], + ["keyword", "min10float4x3"], ["punctuation", ";"], + ["keyword", "min10float4x4"], ["punctuation", ";"], + ["keyword", "min12int"], ["punctuation", ";"], + ["keyword", "min12int1"], ["punctuation", ";"], + ["keyword", "min12int1x1"], ["punctuation", ";"], + ["keyword", "min12int1x2"], ["punctuation", ";"], + ["keyword", "min12int1x3"], ["punctuation", ";"], + ["keyword", "min12int1x4"], ["punctuation", ";"], + ["keyword", "min12int2"], ["punctuation", ";"], + ["keyword", "min12int2x1"], ["punctuation", ";"], + ["keyword", "min12int2x2"], ["punctuation", ";"], + ["keyword", "min12int2x3"], ["punctuation", ";"], + ["keyword", "min12int2x4"], ["punctuation", ";"], + ["keyword", "min12int3"], ["punctuation", ";"], + ["keyword", "min12int3x1"], ["punctuation", ";"], + ["keyword", "min12int3x2"], ["punctuation", ";"], + ["keyword", "min12int3x3"], ["punctuation", ";"], + ["keyword", "min12int3x4"], ["punctuation", ";"], + ["keyword", "min12int4"], ["punctuation", ";"], + ["keyword", "min12int4x1"], ["punctuation", ";"], + ["keyword", "min12int4x2"], ["punctuation", ";"], + ["keyword", "min12int4x3"], ["punctuation", ";"], + ["keyword", "min12int4x4"], ["punctuation", ";"], + ["keyword", "min16float"], ["punctuation", ";"], + ["keyword", "min16float1"], ["punctuation", ";"], + ["keyword", "min16float1x1"], ["punctuation", ";"], + ["keyword", "min16float1x2"], ["punctuation", ";"], + ["keyword", "min16float1x3"], ["punctuation", ";"], + ["keyword", "min16float1x4"], ["punctuation", ";"], + ["keyword", "min16float2"], ["punctuation", ";"], + ["keyword", "min16float2x1"], ["punctuation", ";"], + ["keyword", "min16float2x2"], ["punctuation", ";"], + ["keyword", "min16float2x3"], ["punctuation", ";"], + ["keyword", "min16float2x4"], ["punctuation", ";"], + ["keyword", "min16float3"], ["punctuation", ";"], + ["keyword", "min16float3x1"], ["punctuation", ";"], + ["keyword", "min16float3x2"], ["punctuation", ";"], + ["keyword", "min16float3x3"], ["punctuation", ";"], + ["keyword", "min16float3x4"], ["punctuation", ";"], + ["keyword", "min16float4"], ["punctuation", ";"], + ["keyword", "min16float4x1"], ["punctuation", ";"], + ["keyword", "min16float4x2"], ["punctuation", ";"], + ["keyword", "min16float4x3"], ["punctuation", ";"], + ["keyword", "min16float4x4"], ["punctuation", ";"], + ["keyword", "min16int"], ["punctuation", ";"], + ["keyword", "min16int1"], ["punctuation", ";"], + ["keyword", "min16int1x1"], ["punctuation", ";"], + ["keyword", "min16int1x2"], ["punctuation", ";"], + ["keyword", "min16int1x3"], ["punctuation", ";"], + ["keyword", "min16int1x4"], ["punctuation", ";"], + ["keyword", "min16int2"], ["punctuation", ";"], + ["keyword", "min16int2x1"], ["punctuation", ";"], + ["keyword", "min16int2x2"], ["punctuation", ";"], + ["keyword", "min16int2x3"], ["punctuation", ";"], + ["keyword", "min16int2x4"], ["punctuation", ";"], + ["keyword", "min16int3"], ["punctuation", ";"], + ["keyword", "min16int3x1"], ["punctuation", ";"], + ["keyword", "min16int3x2"], ["punctuation", ";"], + ["keyword", "min16int3x3"], ["punctuation", ";"], + ["keyword", "min16int3x4"], ["punctuation", ";"], + ["keyword", "min16int4"], ["punctuation", ";"], + ["keyword", "min16int4x1"], ["punctuation", ";"], + ["keyword", "min16int4x2"], ["punctuation", ";"], + ["keyword", "min16int4x3"], ["punctuation", ";"], + ["keyword", "min16int4x4"], ["punctuation", ";"], + ["keyword", "min16uint"], ["punctuation", ";"], + ["keyword", "min16uint1"], ["punctuation", ";"], + ["keyword", "min16uint1x1"], ["punctuation", ";"], + ["keyword", "min16uint1x2"], ["punctuation", ";"], + ["keyword", "min16uint1x3"], ["punctuation", ";"], + ["keyword", "min16uint1x4"], ["punctuation", ";"], + ["keyword", "min16uint2"], ["punctuation", ";"], + ["keyword", "min16uint2x1"], ["punctuation", ";"], + ["keyword", "min16uint2x2"], ["punctuation", ";"], + ["keyword", "min16uint2x3"], ["punctuation", ";"], + ["keyword", "min16uint2x4"], ["punctuation", ";"], + ["keyword", "min16uint3"], ["punctuation", ";"], + ["keyword", "min16uint3x1"], ["punctuation", ";"], + ["keyword", "min16uint3x2"], ["punctuation", ";"], + ["keyword", "min16uint3x3"], ["punctuation", ";"], + ["keyword", "min16uint3x4"], ["punctuation", ";"], + ["keyword", "min16uint4"], ["punctuation", ";"], + ["keyword", "min16uint4x1"], ["punctuation", ";"], + ["keyword", "min16uint4x2"], ["punctuation", ";"], + ["keyword", "min16uint4x3"], ["punctuation", ";"], + ["keyword", "min16uint4x4"], ["punctuation", ";"], + ["keyword", "uint"], ["punctuation", ";"], + ["keyword", "uint1"], ["punctuation", ";"], + ["keyword", "uint1x1"], ["punctuation", ";"], + ["keyword", "uint1x2"], ["punctuation", ";"], + ["keyword", "uint1x3"], ["punctuation", ";"], + ["keyword", "uint1x4"], ["punctuation", ";"], + ["keyword", "uint2"], ["punctuation", ";"], + ["keyword", "uint2x1"], ["punctuation", ";"], + ["keyword", "uint2x2"], ["punctuation", ";"], + ["keyword", "uint2x3"], ["punctuation", ";"], + ["keyword", "uint2x4"], ["punctuation", ";"], + ["keyword", "uint3"], ["punctuation", ";"], + ["keyword", "uint3x1"], ["punctuation", ";"], + ["keyword", "uint3x2"], ["punctuation", ";"], + ["keyword", "uint3x3"], ["punctuation", ";"], + ["keyword", "uint3x4"], ["punctuation", ";"], + ["keyword", "uint4"], ["punctuation", ";"], + ["keyword", "uint4x1"], ["punctuation", ";"], + ["keyword", "uint4x2"], ["punctuation", ";"], + ["keyword", "uint4x3"], ["punctuation", ";"], + ["keyword", "uint4x4"], ["punctuation", ";"] ] ---------------------------------------------------- diff --git a/tests/languages/ichigojam/punctuation_feature.test b/tests/languages/ichigojam/punctuation_feature.test new file mode 100644 index 0000000000..5bd5632654 --- /dev/null +++ b/tests/languages/ichigojam/punctuation_feature.test @@ -0,0 +1,13 @@ +[ ] , ; : ( ) + +---------------------------------------------------- + +[ + ["punctuation", "["], + ["punctuation", "]"], + ["punctuation", ","], + ["punctuation", ";"], + ["punctuation", ":"], + ["punctuation", "("], + ["punctuation", ")"] +] diff --git a/tests/languages/icu-message-format/arg-skeleton_feature.test b/tests/languages/icu-message-format/arg-skeleton_feature.test index c198ea362b..c822826fce 100644 --- a/tests/languages/icu-message-format/arg-skeleton_feature.test +++ b/tests/languages/icu-message-format/arg-skeleton_feature.test @@ -1,5 +1,9 @@ At {1,time,::jmm} on {1,date,::dMMMM}, there was {2} on planet {3,number,integer}. +{foo,spellout} +{foo,ordinal} +{foo,duration} + ---------------------------------------------------- [ @@ -47,5 +51,33 @@ At {1,time,::jmm} on {1,date,::dMMMM}, there was {2} on planet {3,number,integer ]], ["argument-delimiter", "}"] ]], - "." -] \ No newline at end of file + ".\r\n\r\n", + + ["argument", [ + ["argument-delimiter", "{"], + ["content", [ + ["argument-name", "foo"], + ["punctuation", ","], + ["arg-type", "spellout"] + ]], + ["argument-delimiter", "}"] + ]], + ["argument", [ + ["argument-delimiter", "{"], + ["content", [ + ["argument-name", "foo"], + ["punctuation", ","], + ["arg-type", "ordinal"] + ]], + ["argument-delimiter", "}"] + ]], + ["argument", [ + ["argument-delimiter", "{"], + ["content", [ + ["argument-name", "foo"], + ["punctuation", ","], + ["arg-type", "duration"] + ]], + ["argument-delimiter", "}"] + ]] +] diff --git a/tests/languages/icu-message-format/plural-style_feature.test b/tests/languages/icu-message-format/plural-style_feature.test index 516f1bda4d..8c3478b7fd 100644 --- a/tests/languages/icu-message-format/plural-style_feature.test +++ b/tests/languages/icu-message-format/plural-style_feature.test @@ -20,6 +20,8 @@ https://unicode-org.github.io/icu/userguide/format_parse/messages/ =2 {{host} invites {guest} and one other person to their party.} other {{host} invites {guest} and # other people to their party.}}}} +{num_guests, selectordinal, foo} + ---------------------------------------------------- [ @@ -371,5 +373,19 @@ https://unicode-org.github.io/icu/userguide/format_parse/messages/ ]] ]], ["argument-delimiter", "}"] + ]], + + ["argument", [ + ["argument-delimiter", "{"], + ["content", [ + ["argument-name", "num_guests"], + ["punctuation", ","], + ["keyword", "selectordinal"], + ["punctuation", ","], + ["plural-style", [ + ["selector", ["foo"]] + ]] + ]], + ["argument-delimiter", "}"] ]] -] \ No newline at end of file +] diff --git a/tests/languages/icu-message-format/string_feature.test b/tests/languages/icu-message-format/string_feature.test new file mode 100644 index 0000000000..83d2724dec --- /dev/null +++ b/tests/languages/icu-message-format/string_feature.test @@ -0,0 +1,36 @@ +foo '{1}' {1} '' {1} + +foo {foo, '{1}'} + +---------------------------------------------------- + +[ + "foo ", + ["string", ["'{1}'"]], + ["argument", [ + ["argument-delimiter", "{"], + ["content", [ + ["argument-name", "1"] + ]], + ["argument-delimiter", "}"] + ]], + ["escape", "''"], + ["argument", [ + ["argument-delimiter", "{"], + ["content", [ + ["argument-name", "1"] + ]], + ["argument-delimiter", "}"] + ]], + + "\r\n\r\nfoo ", + ["argument", [ + ["argument-delimiter", "{"], + ["content", [ + ["argument-name", "foo"], + ["punctuation", ","], + ["arg-style-text", "'{1}'"] + ]], + ["argument-delimiter", "}"] + ]] +] diff --git a/tests/languages/iecst/boolean_feature.test b/tests/languages/iecst/boolean_feature.test new file mode 100644 index 0000000000..5860b1f4a9 --- /dev/null +++ b/tests/languages/iecst/boolean_feature.test @@ -0,0 +1,11 @@ +TRUE +FALSE +NULL + +---------------------------------------------------- + +[ + ["boolean", "TRUE"], + ["boolean", "FALSE"], + ["boolean", "NULL"] +] diff --git a/tests/languages/iecst/comment_feature.test b/tests/languages/iecst/comment_feature.test new file mode 100644 index 0000000000..90cfdeadc6 --- /dev/null +++ b/tests/languages/iecst/comment_feature.test @@ -0,0 +1,11 @@ +// comment +(* comment *) +/* comment */ + +---------------------------------------------------- + +[ + ["comment", "// comment"], + ["comment", "(* comment *)"], + ["comment", "/* comment */"] +] diff --git a/tests/languages/io/builtin_feature.test b/tests/languages/io/builtin_feature.test new file mode 100644 index 0000000000..6dbfd21216 --- /dev/null +++ b/tests/languages/io/builtin_feature.test @@ -0,0 +1,161 @@ +Array +AudioDevice +AudioMixer +Block +Box +Buffer +CFunction +CGI +Color +Curses +DBM +DNSResolver +DOConnection +DOProxy +DOServer +Date +Directory +Duration +DynLib +Error +Exception +FFT +File +Fnmatch +Font +Future +GL +GLE +GLScissor +GLU +GLUCylinder +GLUQuadric +GLUSphere +GLUT +Host +Image +Importer +LinkList +List +Lobby +Locals +MD5 +MP3Decoder +MP3Encoder +Map +Message +Movie +Notification +Number +Object +OpenGL +Point +Protos +Regex +SGML +SGMLElement +SGMLParser +SQLite +Server +Sequence +ShowMessage +SleepyCat +SleepyCatCursor +Socket +SocketManager +Sound +Soup +Store +String +Tree +UDPSender +UPDReceiver +URL +User +Warning +WeakLink +Random +BigNum + +---------------------------------------------------- + +[ + ["builtin", "Array"], + ["builtin", "AudioDevice"], + ["builtin", "AudioMixer"], + ["builtin", "Block"], + ["builtin", "Box"], + ["builtin", "Buffer"], + ["builtin", "CFunction"], + ["builtin", "CGI"], + ["builtin", "Color"], + ["builtin", "Curses"], + ["builtin", "DBM"], + ["builtin", "DNSResolver"], + ["builtin", "DOConnection"], + ["builtin", "DOProxy"], + ["builtin", "DOServer"], + ["builtin", "Date"], + ["builtin", "Directory"], + ["builtin", "Duration"], + ["builtin", "DynLib"], + ["builtin", "Error"], + ["builtin", "Exception"], + ["builtin", "FFT"], + ["builtin", "File"], + ["builtin", "Fnmatch"], + ["builtin", "Font"], + ["builtin", "Future"], + ["builtin", "GL"], + ["builtin", "GLE"], + ["builtin", "GLScissor"], + ["builtin", "GLU"], + ["builtin", "GLUCylinder"], + ["builtin", "GLUQuadric"], + ["builtin", "GLUSphere"], + ["builtin", "GLUT"], + ["builtin", "Host"], + ["builtin", "Image"], + ["builtin", "Importer"], + ["builtin", "LinkList"], + ["builtin", "List"], + ["builtin", "Lobby"], + ["builtin", "Locals"], + ["builtin", "MD5"], + ["builtin", "MP3Decoder"], + ["builtin", "MP3Encoder"], + ["builtin", "Map"], + ["builtin", "Message"], + ["builtin", "Movie"], + ["builtin", "Notification"], + ["builtin", "Number"], + ["builtin", "Object"], + ["builtin", "OpenGL"], + ["builtin", "Point"], + ["builtin", "Protos"], + ["builtin", "Regex"], + ["builtin", "SGML"], + ["builtin", "SGMLElement"], + ["builtin", "SGMLParser"], + ["builtin", "SQLite"], + ["builtin", "Server"], + ["builtin", "Sequence"], + ["builtin", "ShowMessage"], + ["builtin", "SleepyCat"], + ["builtin", "SleepyCatCursor"], + ["builtin", "Socket"], + ["builtin", "SocketManager"], + ["builtin", "Sound"], + ["builtin", "Soup"], + ["builtin", "Store"], + ["builtin", "String"], + ["builtin", "Tree"], + ["builtin", "UDPSender"], + ["builtin", "UPDReceiver"], + ["builtin", "URL"], + ["builtin", "User"], + ["builtin", "Warning"], + ["builtin", "WeakLink"], + ["builtin", "Random"], + ["builtin", "BigNum"] +] diff --git a/tests/languages/io/keyword_feature.test b/tests/languages/io/keyword_feature.test new file mode 100644 index 0000000000..35cc9070c8 --- /dev/null +++ b/tests/languages/io/keyword_feature.test @@ -0,0 +1,141 @@ +activate +activeCoroCount +asString +block +break +catch +clone +collectGarbage +compileString +continue +do +doFile +doMessage +doString +else +elseif +exit +for +foreach +forward +getSlot +getEnvironmentVariable +hasSlot +if +ifFalse +ifNil +ifNilEval +ifTrue +isActive +isNil +isResumable +list +message +method +parent +pass +pause +perform +performWithArgList +print +println +proto +raise +raiseResumable +removeSlot +resend +resume +schedulerSleepSeconds +self +sender +setSchedulerSleepSeconds +setSlot +shallowCopy +slotNames +super +system +then +thisBlock +thisContext +call +try +type +uniqueId +updateSlot +wait +while +write +yield + +---------------------------------------------------- + +[ + ["keyword", "activate"], + ["keyword", "activeCoroCount"], + ["keyword", "asString"], + ["keyword", "block"], + ["keyword", "break"], + ["keyword", "catch"], + ["keyword", "clone"], + ["keyword", "collectGarbage"], + ["keyword", "compileString"], + ["keyword", "continue"], + ["keyword", "do"], + ["keyword", "doFile"], + ["keyword", "doMessage"], + ["keyword", "doString"], + ["keyword", "else"], + ["keyword", "elseif"], + ["keyword", "exit"], + ["keyword", "for"], + ["keyword", "foreach"], + ["keyword", "forward"], + ["keyword", "getSlot"], + ["keyword", "getEnvironmentVariable"], + ["keyword", "hasSlot"], + ["keyword", "if"], + ["keyword", "ifFalse"], + ["keyword", "ifNil"], + ["keyword", "ifNilEval"], + ["keyword", "ifTrue"], + ["keyword", "isActive"], + ["keyword", "isNil"], + ["keyword", "isResumable"], + ["keyword", "list"], + ["keyword", "message"], + ["keyword", "method"], + ["keyword", "parent"], + ["keyword", "pass"], + ["keyword", "pause"], + ["keyword", "perform"], + ["keyword", "performWithArgList"], + ["keyword", "print"], + ["keyword", "println"], + ["keyword", "proto"], + ["keyword", "raise"], + ["keyword", "raiseResumable"], + ["keyword", "removeSlot"], + ["keyword", "resend"], + ["keyword", "resume"], + ["keyword", "schedulerSleepSeconds"], + ["keyword", "self"], + ["keyword", "sender"], + ["keyword", "setSchedulerSleepSeconds"], + ["keyword", "setSlot"], + ["keyword", "shallowCopy"], + ["keyword", "slotNames"], + ["keyword", "super"], + ["keyword", "system"], + ["keyword", "then"], + ["keyword", "thisBlock"], + ["keyword", "thisContext"], + ["keyword", "call"], + ["keyword", "try"], + ["keyword", "type"], + ["keyword", "uniqueId"], + ["keyword", "updateSlot"], + ["keyword", "wait"], + ["keyword", "while"], + ["keyword", "write"], + ["keyword", "yield"] +] diff --git a/tests/languages/j/operator_feature.test b/tests/languages/j/operator_feature.test new file mode 100644 index 0000000000..2094f0990b --- /dev/null +++ b/tests/languages/j/operator_feature.test @@ -0,0 +1,14 @@ +_. +=. =: +a. +a: + +---------------------------------------------------- + +[ + ["operator", "_."], + ["operator", "=."], + ["operator", "=:"], + ["operator", "a."], + ["operator", "a:"] +] diff --git a/tests/languages/java/class-name_feature.test b/tests/languages/java/class-name_feature.test index a5929a721c..71530bb5be 100644 --- a/tests/languages/java/class-name_feature.test +++ b/tests/languages/java/class-name_feature.test @@ -1,18 +1,22 @@ class Foo extends foo.bar.Foo { - java.util.List bar(foo.bar.Baz bat) throws java.lang.IOException { - throw new java.lang.UnsupportedOperationException("Not implemented"); + java.util.List bar(foo.bar.Baz bat) throws java.lang.Exception { + var foo = new java.lang.UnsupportedOperationException("Not implemented"); + Exception e = foo; + throw e; } } +ID id; + +String.valueOf(5); + ---------------------------------------------------- [ ["keyword", "class"], - ["class-name", [ - "Foo" - ]], + ["class-name", ["Foo"]], ["keyword", "extends"], ["class-name", [ ["namespace", [ @@ -70,10 +74,13 @@ class Foo extends foo.bar.Foo { "lang", ["punctuation", "."] ]], - "IOException" + "Exception" ]], ["punctuation", "{"], - ["keyword", "throw"], + + ["keyword", "var"], + " foo ", + ["operator", "="], ["keyword", "new"], ["class-name", [ ["namespace", [ @@ -88,7 +95,28 @@ class Foo extends foo.bar.Foo { ["string", "\"Not implemented\""], ["punctuation", ")"], ["punctuation", ";"], + + ["class-name", ["Exception"]], + " e ", + ["operator", "="], + " foo", + ["punctuation", ";"], + + ["keyword", "throw"], + " e", + ["punctuation", ";"], + ["punctuation", "}"], - ["punctuation", "}"] + ["punctuation", "}"], + + ["class-name", ["ID"]], " id", ["punctuation", ";"], + + ["class-name", ["String"]], + ["punctuation", "."], + ["function", "valueOf"], + ["punctuation", "("], + ["number", "5"], + ["punctuation", ")"], + ["punctuation", ";"] ] diff --git a/tests/languages/jolie/builtin_feature.test b/tests/languages/jolie/builtin_feature.test new file mode 100644 index 0000000000..3571e81a8c --- /dev/null +++ b/tests/languages/jolie/builtin_feature.test @@ -0,0 +1,27 @@ +undefined +string +int +void +long +Byte +bool +double +float +char +any + +---------------------------------------------------- + +[ + ["builtin", "undefined"], + ["builtin", "string"], + ["builtin", "int"], + ["builtin", "void"], + ["builtin", "long"], + ["builtin", "Byte"], + ["builtin", "bool"], + ["builtin", "double"], + ["builtin", "float"], + ["builtin", "char"], + ["builtin", "any"] +] diff --git a/tests/languages/jolie/punctuation_feature.test b/tests/languages/jolie/punctuation_feature.test new file mode 100644 index 0000000000..4d0041ea5d --- /dev/null +++ b/tests/languages/jolie/punctuation_feature.test @@ -0,0 +1,8 @@ +, . + +---------------------------------------------------- + +[ + ["punctuation", ","], + ["punctuation", "."] +] diff --git a/tests/languages/jsstacktrace/alias_feature.test b/tests/languages/jsstacktrace/alias_feature.test new file mode 100644 index 0000000000..2c925f21cb --- /dev/null +++ b/tests/languages/jsstacktrace/alias_feature.test @@ -0,0 +1,26 @@ +Foo + at REPLServer.runBound [as eval] (domain.js:293:12) + +---------------------------------------------------- + +[ + ["error-message", "Foo"], + ["stack-frame", [ + ["keyword", "at"], + ["function", [ + "REPLServer", + ["punctuation", "."], + "runBound" + ]], + ["alias", "[as eval]"], + ["punctuation", "("], + ["filename", "domain.js"], + ["line-number", [ + ["punctuation", ":"], + "293", + ["punctuation", ":"], + "12" + ]], + ["punctuation", ")"] + ]] +] diff --git a/tests/languages/jsstacktrace/function_feature.test b/tests/languages/jsstacktrace/function_feature.test index 2b5b51ce0f..f6ec334359 100644 --- a/tests/languages/jsstacktrace/function_feature.test +++ b/tests/languages/jsstacktrace/function_feature.test @@ -1,24 +1,47 @@ Some text at foo.bar + at DenoError (deno/js/errors.ts:22:5) + at new (_http_common.js:159:16) ---------------------------------------------------- [ ["error-message", "Some text"], - [ - "stack-frame", - [ - ["keyword", "at"], - [ - "function", - [ - "foo", - [ "punctuation", "." ], - "bar" - ] - ] - ] - ] + ["stack-frame", [ + ["keyword", "at"], + ["function", [ + "foo", + ["punctuation", "."], + "bar" + ]] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["function", ["DenoError"]], + ["punctuation", "("], + ["filename", "deno/js/errors.ts"], + ["line-number", [ + ["punctuation", ":"], + "22", + ["punctuation", ":"], + "5" + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["keyword", "new"], + ["function", [""]], + ["punctuation", "("], + ["filename", "_http_common.js"], + ["line-number", [ + ["punctuation", ":"], + "159", + ["punctuation", ":"], + "16" + ]], + ["punctuation", ")"] + ]] ] ---------------------------------------------------- diff --git a/tests/languages/jsstacktrace/notmycode_feature.test b/tests/languages/jsstacktrace/notmycode_feature.test index a853ca5eb7..05fa15c2a3 100644 --- a/tests/languages/jsstacktrace/notmycode_feature.test +++ b/tests/languages/jsstacktrace/notmycode_feature.test @@ -1,12 +1,39 @@ Some text + at new Foo (foo.js:3:7) at processTicksAndRejections (internal/process/task_queues.js:98:32) +Foo + at throwsA (:1:23) + at :1:13 + ---------------------------------------------------- [ ["error-message", "Some text"], + ["stack-frame", [ + ["keyword", "at"], + ["keyword", "new"], + ["function", ["Foo"]], + ["punctuation", "("], + ["filename", "foo.js"], + ["line-number", [ + ["punctuation", ":"], + "3", + ["punctuation", ":"], + "7" + ]], + ["punctuation", ")"] + ]], ["stack-frame", [ ["not-my-code", "at processTicksAndRejections (internal/process/task_queues.js:98:32)"] + ]], + + ["error-message", "Foo"], + ["stack-frame", [ + ["not-my-code", "at throwsA (:1:23)"] + ]], + ["stack-frame", [ + ["not-my-code", "at :1:13"] ]] ] diff --git a/tests/languages/kumir/system-variable_feature.test b/tests/languages/kumir/system-variable_feature.test new file mode 100644 index 0000000000..ee3a545089 --- /dev/null +++ b/tests/languages/kumir/system-variable_feature.test @@ -0,0 +1,7 @@ +знач + +---------------------------------------------------- + +[ + ["system-variable", "знач"] +] diff --git a/tests/languages/kumir/type_feature.test b/tests/languages/kumir/type_feature.test index d5e6731f14..02ad78ee0f 100644 --- a/tests/languages/kumir/type_feature.test +++ b/tests/languages/kumir/type_feature.test @@ -4,6 +4,11 @@ цел таб целтаб +компл +сканкод +файл +цвет + ---------------------------------------------------- [ @@ -11,7 +16,12 @@ ["type", "цел"], ["type", "цел таб"], ["type", "цел таб"], - ["type", "целтаб"] + ["type", "целтаб"], + + ["type", "компл"], + ["type", "сканкод"], + ["type", "файл"], + ["type", "цвет"] ] ---------------------------------------------------- diff --git a/tests/languages/less/variable_feature.test b/tests/languages/less/variable_feature.test new file mode 100644 index 0000000000..eb9152db0b --- /dev/null +++ b/tests/languages/less/variable_feature.test @@ -0,0 +1,9 @@ +@foo +@@foo + +---------------------------------------------------- + +[ + ["variable", "@foo"], + ["variable", "@@foo"] +] diff --git a/tests/languages/lilypond/class-name_feature.test b/tests/languages/lilypond/class-name_feature.test new file mode 100644 index 0000000000..6614ab30f5 --- /dev/null +++ b/tests/languages/lilypond/class-name_feature.test @@ -0,0 +1,15 @@ +\new Staff \hornNotes + +---------------------------------------------------- + +[ + ["keyword", [ + ["punctuation", "\\"], + "new" + ]], + ["class-name", "Staff"], + ["keyword", [ + ["punctuation", "\\"], + "hornNotes" + ]] +] diff --git a/tests/languages/livescript+pug/livescript_inclusion.test b/tests/languages/livescript+pug/livescript_inclusion.test new file mode 100644 index 0000000000..ae2c878436 --- /dev/null +++ b/tests/languages/livescript+pug/livescript_inclusion.test @@ -0,0 +1,28 @@ +:livescript + "#foo #{ if /test/ == 'test' then 3 else 4}" + +---------------------------------------------------- + +[ + ["filter-livescript", [ + ["filter-name", ":livescript"], + ["interpolated-string", [ + ["string", "\""], + ["variable", "#foo"], + ["string", " "], + ["interpolation", [ + ["interpolation-punctuation", "#{"], + ["keyword", "if"], + ["regex", "/test/"], + ["operator", "=="], + ["string", "'test'"], + ["keyword", "then"], + ["number", "3"], + ["keyword", "else"], + ["number", "4"], + ["interpolation-punctuation", "}"] + ]], + ["string", "\""] + ]] + ]] +] diff --git a/tests/languages/livescript/punctuation_feature.test b/tests/languages/livescript/punctuation_feature.test new file mode 100644 index 0000000000..4e419cc8aa --- /dev/null +++ b/tests/languages/livescript/punctuation_feature.test @@ -0,0 +1,18 @@ +( ) { } [ ] | ., : ; ` + +---------------------------------------------------- + +[ + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", "{"], + ["punctuation", "}"], + ["punctuation", "["], + ["punctuation", "]"], + ["punctuation", "|"], + ["punctuation", "."], + ["punctuation", ","], + ["punctuation", ":"], + ["punctuation", ";"], + ["punctuation", "`"] +] diff --git a/tests/languages/log/email_feature.test b/tests/languages/log/email_feature.test new file mode 100644 index 0000000000..19ffd0e285 --- /dev/null +++ b/tests/languages/log/email_feature.test @@ -0,0 +1,10 @@ +foo.bar@mail.com ... + +---------------------------------------------------- + +[ + ["email", "foo.bar@mail.com"], + ["punctuation", "."], + ["punctuation", "."], + ["punctuation", "."] +] diff --git a/tests/languages/log/level_feature.test b/tests/languages/log/level_feature.test index ab47dbb8db..0ea1163dbd 100644 --- a/tests/languages/log/level_feature.test +++ b/tests/languages/log/level_feature.test @@ -11,19 +11,24 @@ SEVERE WARN WARNING +WRN DISPLAY INFO +INF NOTICE STATUS +DBG DEBUG FINE FINER FINEST TRACE +TRC VERBOSE +VRB ---------------------------------------------------- @@ -41,17 +46,22 @@ VERBOSE ["level", "WARN"], ["level", "WARNING"], + ["level", "WRN"], ["level", "DISPLAY"], ["level", "INFO"], + ["level", "INF"], ["level", "NOTICE"], ["level", "STATUS"], + ["level", "DBG"], ["level", "DEBUG"], ["level", "FINE"], ["level", "FINER"], ["level", "FINEST"], ["level", "TRACE"], - ["level", "VERBOSE"] -] \ No newline at end of file + ["level", "TRC"], + ["level", "VERBOSE"], + ["level", "VRB"] +] diff --git a/tests/languages/log/mac-address_feature.test b/tests/languages/log/mac-address_feature.test new file mode 100644 index 0000000000..24424a2afd --- /dev/null +++ b/tests/languages/log/mac-address_feature.test @@ -0,0 +1,7 @@ +01:23:45:67:89:ab + +---------------------------------------------------- + +[ + ["mac-address", "01:23:45:67:89:ab"] +] diff --git a/tests/languages/lolcode/punctuation_feature.test b/tests/languages/lolcode/punctuation_feature.test new file mode 100644 index 0000000000..3b865b7bec --- /dev/null +++ b/tests/languages/lolcode/punctuation_feature.test @@ -0,0 +1,10 @@ +... … , ! + +---------------------------------------------------- + +[ + ["punctuation", "..."], + ["punctuation", "…"], + ["punctuation", ","], + ["punctuation", "!"] +] diff --git a/tests/languages/lolcode/string_feature.test b/tests/languages/lolcode/string_feature.test index e3a25a9cda..67555db892 100644 --- a/tests/languages/lolcode/string_feature.test +++ b/tests/languages/lolcode/string_feature.test @@ -2,6 +2,8 @@ "foobar" "fo:"o" "foo:)bar:>baz" +"foo:(FF)baz" +"foo:[bar]baz" "foo:{bar}baz" "foo BTW bar" BTW and out @@ -9,12 +11,15 @@ [ ["string", ["\"\""]], + ["string", ["\"foobar\""]], + ["string", [ "\"fo", ["symbol", ":\""], "o\"" ]], + ["string", [ "\"foo", ["symbol", ":)"], @@ -22,15 +27,29 @@ ["symbol", ":>"], "baz\"" ]], + + ["string", [ + "\"foo", + ["symbol", ":(FF)"], + "baz\"" + ]], + + ["string", [ + "\"foo", + ["symbol", ":[bar]"], + "baz\"" + ]], + ["string", [ "\"foo", ["variable", ":{bar}"], "baz\"" ]], + ["string", ["\"foo BTW bar\""]], ["comment", "BTW and out"] ] ---------------------------------------------------- -Checks for strings, with variables and symbols in them. \ No newline at end of file +Checks for strings, with variables and symbols in them. diff --git a/tests/languages/markup+http/text-xml_inclusion.test b/tests/languages/markup+http/text-xml_inclusion.test new file mode 100644 index 0000000000..ecc0c71c6b --- /dev/null +++ b/tests/languages/markup+http/text-xml_inclusion.test @@ -0,0 +1,30 @@ +Content-type: text/xml + + + +---------------------------------------------------- + +[ + ["header-name", "Content-type:"], + " text/xml", + ["text-xml", [ + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "foo" + ]], + ["punctuation", ">"] + ]], + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]] + ]] +] + +---------------------------------------------------- + +Checks for XML content in HTTP. diff --git a/tests/languages/moonscript/function_feature.test b/tests/languages/moonscript/function_feature.test new file mode 100644 index 0000000000..697ac714f4 --- /dev/null +++ b/tests/languages/moonscript/function_feature.test @@ -0,0 +1,715 @@ +_G +_VERSION +assert +collectgarbage +coroutine.create +coroutine.resume +coroutine.running +coroutine.status +coroutine.wrap +coroutine.yield +debug.debug +debug.getfenv +debug.gethook +debug.getinfo +debug.getlocal +debug.getmetatable +debug.getregistry +debug.getupvalue +debug.setfenv +debug.sethook +debug.setlocal +debug.setmetatable +debug.setupvalue +debug.traceback +dofile +error +getfenv +getmetatable +io.close +io.flush +io.input +io.lines +io.open +io.output +io.popen +io.read +io.stderr +io.stdin +io.stdout +io.tmpfile +io.type +io.write +ipairs +load +loadfile +loadstring +math.abs +math.acos +math.asin +math.atan +math.atan2 +math.ceil +math.cos +math.cosh +math.deg +math.exp +math.floor +math.fmod +math.frexp +math.ldexp +math.log +math.log10 +math.max +math.min +math.modf +math.pi +math.pow +math.rad +math.random +math.randomseed +math.sin +math.sinh +math.sqrt +math.tan +math.tanh +module +next +os.clock +os.date +os.difftime +os.execute +os.exit +os.getenv +os.remove +os.rename +os.setlocale +os.time +os.tmpname +package.cpath +package.loaded +package.loadlib +package.path +package.preload +package.seeall +pairs +pcall +print +rawequal +rawget +rawset +require +select +setfenv +setmetatable +string.byte +string.char +string.dump +string.find +string.format +string.gmatch +string.gsub +string.len +string.lower +string.match +string.rep +string.reverse +string.sub +string.upper +table.concat +table.insert +table.maxn +table.remove +table.sort +tonumber +tostring +type +unpack +xpcall + +---------------------------------------------------- + +[ + ["function", [ + "_G" + ]], + ["function", [ + "_VERSION" + ]], + ["function", [ + "assert" + ]], + ["function", [ + "collectgarbage" + ]], + ["function", [ + "coroutine", + ["punctuation", "."], + "create" + ]], + ["function", [ + "coroutine", + ["punctuation", "."], + "resume" + ]], + ["function", [ + "coroutine", + ["punctuation", "."], + "running" + ]], + ["function", [ + "coroutine", + ["punctuation", "."], + "status" + ]], + ["function", [ + "coroutine", + ["punctuation", "."], + "wrap" + ]], + ["function", [ + "coroutine", + ["punctuation", "."], + "yield" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "debug" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "getfenv" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "gethook" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "getinfo" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "getlocal" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "getmetatable" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "getregistry" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "getupvalue" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "setfenv" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "sethook" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "setlocal" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "setmetatable" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "setupvalue" + ]], + ["function", [ + "debug", + ["punctuation", "."], + "traceback" + ]], + ["function", [ + "dofile" + ]], + ["function", [ + "error" + ]], + ["function", [ + "getfenv" + ]], + ["function", [ + "getmetatable" + ]], + ["function", [ + "io", + ["punctuation", "."], + "close" + ]], + ["function", [ + "io", + ["punctuation", "."], + "flush" + ]], + ["function", [ + "io", + ["punctuation", "."], + "input" + ]], + ["function", [ + "io", + ["punctuation", "."], + "lines" + ]], + ["function", [ + "io", + ["punctuation", "."], + "open" + ]], + ["function", [ + "io", + ["punctuation", "."], + "output" + ]], + ["function", [ + "io", + ["punctuation", "."], + "popen" + ]], + ["function", [ + "io", + ["punctuation", "."], + "read" + ]], + ["function", [ + "io", + ["punctuation", "."], + "stderr" + ]], + ["function", [ + "io", + ["punctuation", "."], + "stdin" + ]], + ["function", [ + "io", + ["punctuation", "."], + "stdout" + ]], + ["function", [ + "io", + ["punctuation", "."], + "tmpfile" + ]], + ["function", [ + "io", + ["punctuation", "."], + "type" + ]], + ["function", [ + "io", + ["punctuation", "."], + "write" + ]], + ["function", [ + "ipairs" + ]], + ["function", [ + "load" + ]], + ["function", [ + "loadfile" + ]], + ["function", [ + "loadstring" + ]], + ["function", [ + "math", + ["punctuation", "."], + "abs" + ]], + ["function", [ + "math", + ["punctuation", "."], + "acos" + ]], + ["function", [ + "math", + ["punctuation", "."], + "asin" + ]], + ["function", [ + "math", + ["punctuation", "."], + "atan" + ]], + ["function", [ + "math", + ["punctuation", "."], + "atan2" + ]], + ["function", [ + "math", + ["punctuation", "."], + "ceil" + ]], + ["function", [ + "math", + ["punctuation", "."], + "cos" + ]], + ["function", [ + "math", + ["punctuation", "."], + "cosh" + ]], + ["function", [ + "math", + ["punctuation", "."], + "deg" + ]], + ["function", [ + "math", + ["punctuation", "."], + "exp" + ]], + ["function", [ + "math", + ["punctuation", "."], + "floor" + ]], + ["function", [ + "math", + ["punctuation", "."], + "fmod" + ]], + ["function", [ + "math", + ["punctuation", "."], + "frexp" + ]], + ["function", [ + "math", + ["punctuation", "."], + "ldexp" + ]], + ["function", [ + "math", + ["punctuation", "."], + "log" + ]], + ["function", [ + "math", + ["punctuation", "."], + "log10" + ]], + ["function", [ + "math", + ["punctuation", "."], + "max" + ]], + ["function", [ + "math", + ["punctuation", "."], + "min" + ]], + ["function", [ + "math", + ["punctuation", "."], + "modf" + ]], + ["function", [ + "math", + ["punctuation", "."], + "pi" + ]], + ["function", [ + "math", + ["punctuation", "."], + "pow" + ]], + ["function", [ + "math", + ["punctuation", "."], + "rad" + ]], + ["function", [ + "math", + ["punctuation", "."], + "random" + ]], + ["function", [ + "math", + ["punctuation", "."], + "randomseed" + ]], + ["function", [ + "math", + ["punctuation", "."], + "sin" + ]], + ["function", [ + "math", + ["punctuation", "."], + "sinh" + ]], + ["function", [ + "math", + ["punctuation", "."], + "sqrt" + ]], + ["function", [ + "math", + ["punctuation", "."], + "tan" + ]], + ["function", [ + "math", + ["punctuation", "."], + "tanh" + ]], + ["function", [ + "module" + ]], + ["function", [ + "next" + ]], + ["function", [ + "os", + ["punctuation", "."], + "clock" + ]], + ["function", [ + "os", + ["punctuation", "."], + "date" + ]], + ["function", [ + "os", + ["punctuation", "."], + "difftime" + ]], + ["function", [ + "os", + ["punctuation", "."], + "execute" + ]], + ["function", [ + "os", + ["punctuation", "."], + "exit" + ]], + ["function", [ + "os", + ["punctuation", "."], + "getenv" + ]], + ["function", [ + "os", + ["punctuation", "."], + "remove" + ]], + ["function", [ + "os", + ["punctuation", "."], + "rename" + ]], + ["function", [ + "os", + ["punctuation", "."], + "setlocale" + ]], + ["function", [ + "os", + ["punctuation", "."], + "time" + ]], + ["function", [ + "os", + ["punctuation", "."], + "tmpname" + ]], + ["function", [ + "package", + ["punctuation", "."], + "cpath" + ]], + ["function", [ + "package", + ["punctuation", "."], + "loaded" + ]], + ["function", [ + "package", + ["punctuation", "."], + "loadlib" + ]], + ["function", [ + "package", + ["punctuation", "."], + "path" + ]], + ["function", [ + "package", + ["punctuation", "."], + "preload" + ]], + ["function", [ + "package", + ["punctuation", "."], + "seeall" + ]], + ["function", [ + "pairs" + ]], + ["function", [ + "pcall" + ]], + ["function", [ + "print" + ]], + ["function", [ + "rawequal" + ]], + ["function", [ + "rawget" + ]], + ["function", [ + "rawset" + ]], + ["function", [ + "require" + ]], + ["function", [ + "select" + ]], + ["function", [ + "setfenv" + ]], + ["function", [ + "setmetatable" + ]], + ["function", [ + "string", + ["punctuation", "."], + "byte" + ]], + ["function", [ + "string", + ["punctuation", "."], + "char" + ]], + ["function", [ + "string", + ["punctuation", "."], + "dump" + ]], + ["function", [ + "string", + ["punctuation", "."], + "find" + ]], + ["function", [ + "string", + ["punctuation", "."], + "format" + ]], + ["function", [ + "string", + ["punctuation", "."], + "gmatch" + ]], + ["function", [ + "string", + ["punctuation", "."], + "gsub" + ]], + ["function", [ + "string", + ["punctuation", "."], + "len" + ]], + ["function", [ + "string", + ["punctuation", "."], + "lower" + ]], + ["function", [ + "string", + ["punctuation", "."], + "match" + ]], + ["function", [ + "string", + ["punctuation", "."], + "rep" + ]], + ["function", [ + "string", + ["punctuation", "."], + "reverse" + ]], + ["function", [ + "string", + ["punctuation", "."], + "sub" + ]], + ["function", [ + "string", + ["punctuation", "."], + "upper" + ]], + ["function", [ + "table", + ["punctuation", "."], + "concat" + ]], + ["function", [ + "table", + ["punctuation", "."], + "insert" + ]], + ["function", [ + "table", + ["punctuation", "."], + "maxn" + ]], + ["function", [ + "table", + ["punctuation", "."], + "remove" + ]], + ["function", [ + "table", + ["punctuation", "."], + "sort" + ]], + ["function", [ + "tonumber" + ]], + ["function", [ + "tostring" + ]], + ["function", [ + "type" + ]], + ["function", [ + "unpack" + ]], + ["function", [ + "xpcall" + ]] +] diff --git a/tests/languages/nevod/full_feature.test b/tests/languages/nevod/full_feature.test new file mode 100644 index 0000000000..ba0dbbf099 --- /dev/null +++ b/tests/languages/nevod/full_feature.test @@ -0,0 +1,280 @@ +@namespace Basic +{ + @search @pattern Url(Domain, Path, Query, Anchor) = + Method + Domain:Url.Domain + ?Port + ?Path:Url.Path + + ?Query:Url.Query + ?Anchor:Url.Anchor + @where { + Method = {'http', 'https' , 'ftp', 'mailto', 'file', 'data', + 'irc'} + '://'; + Domain = Word + [1+ '.' + Word + [0+ {Word, '_', '-'}]]; + Port = ':' + Num; + Path = ?'/' + [0+ {Word, '/', '_', '+', '-', '%', '.'}]; + + Query = '?' + ?(Param + [0+ '&' + Param]) + @where + { + Param = Identifier + '=' + Identifier + @where + { + Identifier = {Alpha, AlphaNum, '_'} + [0+ {Word, '_'}]; + }; + }; + + Anchor(Value) = '#' + Value:{Word}; + }; +} + +---------------------------------------------------- + +[ + ["keyword", "@namespace"], + ["namespace", "Basic"], + + ["operator", "{"], + + ["keyword", "@search"], + ["keyword", "@pattern"], + ["pattern", [ + ["pattern-name", "Url"], + ["fields", [ + ["punctuation", "("], + ["field-name", "Domain"], + ["punctuation", ","], + ["field-name", "Path"], + ["punctuation", ","], + ["field-name", "Query"], + ["punctuation", ","], + ["field-name", "Anchor"], + ["punctuation", ")"] + ]] + ]], + ["operator", "="], + + ["name", "Method"], + ["operator", "+"], + ["field-capture", [ + ["field-name", "Domain"], + ["colon", ":"] + ]], + ["name", "Url.Domain"], + ["operator", "+"], + ["operator", "?"], + ["name", "Port"], + ["operator", "+"], + ["operator", "?"], + ["field-capture", [ + ["field-name", "Path"], + ["colon", ":"] + ]], + ["name", "Url.Path"], + ["operator", "+"], + + ["operator", "?"], + ["field-capture", [ + ["field-name", "Query"], + ["colon", ":"] + ]], + ["name", "Url.Query"], + ["operator", "+"], + ["operator", "?"], + ["field-capture", [ + ["field-name", "Anchor"], + ["colon", ":"] + ]], + ["name", "Url.Anchor"], + + ["keyword", "@where"], + ["operator", "{"], + + ["pattern", [ + ["pattern-name", "Method"] + ]], + ["operator", "="], + ["operator", "{"], + ["string", ["'http'"]], + ["punctuation", ","], + ["string", ["'https'"]], + ["punctuation", ","], + ["string", ["'ftp'"]], + ["punctuation", ","], + ["string", ["'mailto'"]], + ["punctuation", ","], + ["string", ["'file'"]], + ["punctuation", ","], + ["string", ["'data'"]], + ["punctuation", ","], + + ["string", ["'irc'"]], + ["operator", "}"], + ["operator", "+"], + ["string", ["'://'"]], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "Domain"] + ]], + ["operator", "="], + ["standard-pattern", [ + ["standard-pattern-name", "Word"] + ]], + ["operator", "+"], + ["operator", "["], + ["quantifier", "1+"], + ["string", ["'.'"]], + ["operator", "+"], + ["standard-pattern", [ + ["standard-pattern-name", "Word"] + ]], + ["operator", "+"], + ["operator", "["], + ["quantifier", "0+"], + ["operator", "{"], + ["standard-pattern", [ + ["standard-pattern-name", "Word"] + ]], + ["punctuation", ","], + ["string", ["'_'"]], + ["punctuation", ","], + ["string", ["'-'"]], + ["operator", "}"], + ["operator", "]"], + ["operator", "]"], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "Port"] + ]], + ["operator", "="], + ["string", ["':'"]], + ["operator", "+"], + ["standard-pattern", [ + ["standard-pattern-name", "Num"] + ]], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "Path"] + ]], + ["operator", "="], + ["operator", "?"], + ["string", ["'/'"]], + ["operator", "+"], + ["operator", "["], + ["quantifier", "0+"], + ["operator", "{"], + ["standard-pattern", [ + ["standard-pattern-name", "Word"] + ]], + ["punctuation", ","], + ["string", ["'/'"]], + ["punctuation", ","], + ["string", ["'_'"]], + ["punctuation", ","], + ["string", ["'+'"]], + ["punctuation", ","], + ["string", ["'-'"]], + ["punctuation", ","], + ["string", ["'%'"]], + ["punctuation", ","], + ["string", ["'.'"]], + ["operator", "}"], + ["operator", "]"], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "Query"] + ]], + ["operator", "="], + ["string", ["'?'"]], + ["operator", "+"], + ["operator", "?"], + ["punctuation", "("], + ["name", "Param"], + ["operator", "+"], + ["operator", "["], + ["quantifier", "0+"], + ["string", ["'&'"]], + ["operator", "+"], + ["name", "Param"], + ["operator", "]"], + ["punctuation", ")"], + + ["keyword", "@where"], + + ["operator", "{"], + + ["pattern", [ + ["pattern-name", "Param"] + ]], + ["operator", "="], + ["name", "Identifier"], + ["operator", "+"], + ["string", ["'='"]], + ["operator", "+"], + ["name", "Identifier"], + + ["keyword", "@where"], + + ["operator", "{"], + + ["pattern", [ + ["pattern-name", "Identifier"] + ]], + ["operator", "="], + ["operator", "{"], + ["standard-pattern", [ + ["standard-pattern-name", "Alpha"] + ]], + ["punctuation", ","], + ["standard-pattern", [ + ["standard-pattern-name", "AlphaNum"] + ]], + ["punctuation", ","], + ["string", ["'_'"]], + ["operator", "}"], + ["operator", "+"], + ["operator", "["], + ["quantifier", "0+"], + ["operator", "{"], + ["standard-pattern", [ + ["standard-pattern-name", "Word"] + ]], + ["punctuation", ","], + ["string", ["'_'"]], + ["operator", "}"], + ["operator", "]"], + ["punctuation", ";"], + + ["operator", "}"], + ["punctuation", ";"], + + ["operator", "}"], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "Anchor"], + ["fields", [ + ["punctuation", "("], + ["field-name", "Value"], + ["punctuation", ")"] + ]] + ]], + ["operator", "="], + ["string", ["'#'"]], + ["operator", "+"], + ["field-capture", [ + ["field-name", "Value"], + ["colon", ":"] + ]], + ["operator", "{"], + ["standard-pattern", [ + ["standard-pattern-name", "Word"] + ]], + ["operator", "}"], + ["punctuation", ";"], + + ["operator", "}"], + ["punctuation", ";"], + + ["operator", "}"] +] diff --git a/tests/languages/nevod/package_feature.test b/tests/languages/nevod/package_feature.test new file mode 100644 index 0000000000..bc6b83b379 --- /dev/null +++ b/tests/languages/nevod/package_feature.test @@ -0,0 +1,79 @@ +@namespace Basic +{ + @search @pattern GUID = Word(8) + [3 '-' + Word(4)] + '-' + Word(12); +} + +@require "GUID.np"; + +@namespace Basic +{ + @search @pattern GUID-in-Braces = '{' + GUID + '}'; +} + +---------------------------------------------------- + +[ + ["keyword", "@namespace"], + ["namespace", "Basic"], + + ["operator", "{"], + + ["keyword", "@search"], + ["keyword", "@pattern"], + ["pattern", [ + ["pattern-name", "GUID"] + ]], + ["operator", "="], + ["standard-pattern", [ + ["standard-pattern-name", "Word"], + ["punctuation", "("], + ["quantifier", "8"], + ["punctuation", ")"] + ]], + ["operator", "+"], + ["operator", "["], + ["quantifier", "3"], + ["string", ["'-'"]], + ["operator", "+"], + ["standard-pattern", [ + ["standard-pattern-name", "Word"], + ["punctuation", "("], + ["quantifier", "4"], + ["punctuation", ")"] + ]], + ["operator", "]"], + ["operator", "+"], + ["string", ["'-'"]], + ["operator", "+"], + ["standard-pattern", [ + ["standard-pattern-name", "Word"], + ["punctuation", "("], + ["quantifier", "12"], + ["punctuation", ")"] + ]], + ["punctuation", ";"], + + ["operator", "}"], + + ["keyword", "@require"], ["string", ["\"GUID.np\""]], ["punctuation", ";"], + + ["keyword", "@namespace"], + ["namespace", "Basic"], + + ["operator", "{"], + + ["keyword", "@search"], + ["keyword", "@pattern"], + ["pattern", [ + ["pattern-name", "GUID-in-Braces"] + ]], + ["operator", "="], + ["string", ["'{'"]], + ["operator", "+"], + ["name", "GUID"], + ["operator", "+"], + ["string", ["'}'"]], + ["punctuation", ";"], + + ["operator", "}"] +] diff --git a/tests/languages/nevod/pattern_feature.test b/tests/languages/nevod/pattern_feature.test new file mode 100644 index 0000000000..91d3924dc5 --- /dev/null +++ b/tests/languages/nevod/pattern_feature.test @@ -0,0 +1,282 @@ +P = "text"; +P = Alpha; +P2 = P1; P1 = Word; +P = A + B; +P = {A, B}; +P = [1+ A]; + +#P = "text"; + +@pattern P = Alpha; +@search @pattern P = Alpha; +@pattern P = W @where { @pattern W = Word; }; +@pattern #P = W + S @where { @pattern #W = Word; @pattern S = Space; }; + +#P(X, Y) = X: A ... Y: B; +#P(X) = A .. X .. B; +#P1(X, Y) = P2(X: Q, Y: S); +#P(X) = X: Word ... X; +#P(X, Y) = {X: Punct + X, Y: Symbol + Y}; + +---------------------------------------------------- + +[ + ["pattern", [ + ["pattern-name", "P"] + ]], + ["operator", "="], + ["string", ["\"text\""]], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "P"] + ]], + ["operator", "="], + ["standard-pattern", [ + ["standard-pattern-name", "Alpha"] + ]], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "P2"] + ]], + ["operator", "="], + ["name", "P1"], + ["punctuation", ";"], + ["pattern", [ + ["pattern-name", "P1"] + ]], + ["operator", "="], + ["standard-pattern", [ + ["standard-pattern-name", "Word"] + ]], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "P"] + ]], + ["operator", "="], + ["name", "A"], + ["operator", "+"], + ["name", "B"], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "P"] + ]], + ["operator", "="], + ["operator", "{"], + ["name", "A"], + ["punctuation", ","], + ["name", "B"], + ["operator", "}"], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "P"] + ]], + ["operator", "="], + ["operator", "["], + ["quantifier", "1+"], + ["name", "A"], + ["operator", "]"], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "#P"] + ]], + ["operator", "="], + ["string", ["\"text\""]], + ["punctuation", ";"], + + ["keyword", "@pattern"], + ["pattern", [ + ["pattern-name", "P"] + ]], + ["operator", "="], + ["standard-pattern", [ + ["standard-pattern-name", "Alpha"] + ]], + ["punctuation", ";"], + + ["keyword", "@search"], + ["keyword", "@pattern"], + ["pattern", [ + ["pattern-name", "P"] + ]], + ["operator", "="], + ["standard-pattern", [ + ["standard-pattern-name", "Alpha"] + ]], + ["punctuation", ";"], + + ["keyword", "@pattern"], + ["pattern", [ + ["pattern-name", "P"] + ]], + ["operator", "="], + ["name", "W"], + ["keyword", "@where"], + ["operator", "{"], + ["keyword", "@pattern"], + ["pattern", [ + ["pattern-name", "W"] + ]], + ["operator", "="], + ["standard-pattern", [ + ["standard-pattern-name", "Word"] + ]], + ["punctuation", ";"], + ["operator", "}"], + ["punctuation", ";"], + + ["keyword", "@pattern"], + ["pattern", [ + ["pattern-name", "#P"] + ]], + ["operator", "="], + ["name", "W"], + ["operator", "+"], + ["name", "S"], + ["keyword", "@where"], + ["operator", "{"], + ["keyword", "@pattern"], + ["pattern", [ + ["pattern-name", "#W"] + ]], + ["operator", "="], + ["standard-pattern", [ + ["standard-pattern-name", "Word"] + ]], + ["punctuation", ";"], + ["keyword", "@pattern"], + ["pattern", [ + ["pattern-name", "S"] + ]], + ["operator", "="], + ["standard-pattern", [ + ["standard-pattern-name", "Space"] + ]], + ["punctuation", ";"], + ["operator", "}"], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "#P"], + ["fields", [ + ["punctuation", "("], + ["field-name", "X"], + ["punctuation", ","], + ["field-name", "Y"], + ["punctuation", ")"] + ]] + ]], + ["operator", "="], + ["field-capture", [ + ["field-name", "X"], + ["colon", ":"] + ]], + ["name", "A"], + ["operator", "..."], + ["field-capture", [ + ["field-name", "Y"], + ["colon", ":"] + ]], + ["name", "B"], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "#P"], + ["fields", [ + ["punctuation", "("], + ["field-name", "X"], + ["punctuation", ")"] + ]] + ]], + ["operator", "="], + ["name", "A"], + ["operator", ".."], + ["name", "X"], + ["operator", ".."], + ["name", "B"], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "#P1"], + ["fields", [ + ["punctuation", "("], + ["field-name", "X"], + ["punctuation", ","], + ["field-name", "Y"], + ["punctuation", ")"] + ]] + ]], + ["operator", "="], + ["name", "P2"], + ["punctuation", "("], + ["field-capture", [ + ["field-name", "X"], + ["colon", ":"], + ["field-name", "Q"], + ", ", + ["field-name", "Y"], + ["colon", ":"], + ["field-name", "S"] + ]], + ["punctuation", ")"], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "#P"], + ["fields", [ + ["punctuation", "("], + ["field-name", "X"], + ["punctuation", ")"] + ]] + ]], + ["operator", "="], + ["field-capture", [ + ["field-name", "X"], + ["colon", ":"] + ]], + ["standard-pattern", [ + ["standard-pattern-name", "Word"] + ]], + ["operator", "..."], + ["name", "X"], + ["punctuation", ";"], + + ["pattern", [ + ["pattern-name", "#P"], + ["fields", [ + ["punctuation", "("], + ["field-name", "X"], + ["punctuation", ","], + ["field-name", "Y"], + ["punctuation", ")"] + ]] + ]], + ["operator", "="], + ["operator", "{"], + ["field-capture", [ + ["field-name", "X"], + ["colon", ":"] + ]], + ["standard-pattern", [ + ["standard-pattern-name", "Punct"] + ]], + ["operator", "+"], + ["name", "X"], + ["punctuation", ","], + ["field-capture", [ + ["field-name", "Y"], + ["colon", ":"] + ]], + ["standard-pattern", [ + ["standard-pattern-name", "Symbol"] + ]], + ["operator", "+"], + ["name", "Y"], + ["operator", "}"], + ["punctuation", ";"] +] diff --git a/tests/languages/nevod/search_feature.test b/tests/languages/nevod/search_feature.test new file mode 100644 index 0000000000..c3dcf45207 --- /dev/null +++ b/tests/languages/nevod/search_feature.test @@ -0,0 +1,95 @@ +@namespace Basic +{ + @search @pattern GUID-in-Braces = '{' + GUID + '}'; +} + +@search Basic.GUID; +@search Basic.GUID-in-Braces; + +@namespace Basic +{ + @pattern GUID-in-Braces = '{' + GUID + '}'; +} + +@require "GUID.np"; + +@search Basic.*; + +@namespace Basic +{ + @pattern GUID-in-Braces = '{' + GUID + '}'; +} + +---------------------------------------------------- + +[ + ["keyword", "@namespace"], + ["namespace", "Basic"], + + ["operator", "{"], + + ["keyword", "@search"], + ["keyword", "@pattern"], + ["pattern", [ + ["pattern-name", "GUID-in-Braces"] + ]], + ["operator", "="], + ["string", ["'{'"]], + ["operator", "+"], + ["name", "GUID"], + ["operator", "+"], + ["string", ["'}'"]], + ["punctuation", ";"], + + ["operator", "}"], + + ["keyword", "@search"], + ["search", "Basic.GUID"], + ["punctuation", ";"], + + ["keyword", "@search"], + ["search", "Basic.GUID-in-Braces"], + ["punctuation", ";"], + + ["keyword", "@namespace"], + ["namespace", "Basic"], + + ["operator", "{"], + + ["keyword", "@pattern"], + ["pattern", [ + ["pattern-name", "GUID-in-Braces"] + ]], + ["operator", "="], + ["string", ["'{'"]], + ["operator", "+"], + ["name", "GUID"], + ["operator", "+"], + ["string", ["'}'"]], + ["punctuation", ";"], + + ["operator", "}"], + + ["keyword", "@require"], ["string", ["\"GUID.np\""]], ["punctuation", ";"], + + ["keyword", "@search"], ["search", "Basic.*"], ["punctuation", ";"], + + ["keyword", "@namespace"], + ["namespace", "Basic"], + + ["operator", "{"], + + ["keyword", "@pattern"], + ["pattern", [ + ["pattern-name", "GUID-in-Braces"] + ]], + ["operator", "="], + ["string", ["'{'"]], + ["operator", "+"], + ["name", "GUID"], + ["operator", "+"], + ["string", ["'}'"]], + ["punctuation", ";"], + + ["operator", "}"] +] diff --git a/tests/languages/openqasm/function_feature.test b/tests/languages/openqasm/function_feature.test new file mode 100644 index 0000000000..cf018998fc --- /dev/null +++ b/tests/languages/openqasm/function_feature.test @@ -0,0 +1,23 @@ +sin( +cos( +tan( +exp( +ln( +sqrt( +rotl( +rotr( +popcount( + +---------------------------------------------------- + +[ + ["function", "sin"], ["punctuation", "("], + ["function", "cos"], ["punctuation", "("], + ["function", "tan"], ["punctuation", "("], + ["function", "exp"], ["punctuation", "("], + ["function", "ln"], ["punctuation", "("], + ["function", "sqrt"], ["punctuation", "("], + ["function", "rotl"], ["punctuation", "("], + ["function", "rotr"], ["punctuation", "("], + ["function", "popcount"], ["punctuation", "("] +] diff --git a/tests/languages/openqasm/punctuation_feature.test b/tests/languages/openqasm/punctuation_feature.test new file mode 100644 index 0000000000..462695fdef --- /dev/null +++ b/tests/languages/openqasm/punctuation_feature.test @@ -0,0 +1,18 @@ +( ) { } [ ] +; , : . + +---------------------------------------------------- + +[ + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", "{"], + ["punctuation", "}"], + ["punctuation", "["], + ["punctuation", "]"], + + ["punctuation", ";"], + ["punctuation", ","], + ["punctuation", ":"], + ["punctuation", "."] +] diff --git a/tests/languages/pascaligo/class-name_feature.test b/tests/languages/pascaligo/class-name_feature.test new file mode 100644 index 0000000000..8b5ee2b52b --- /dev/null +++ b/tests/languages/pascaligo/class-name_feature.test @@ -0,0 +1,42 @@ +type storage is int + +function add (const store : storage; const delta : int) : storage is store + delta + +---------------------------------------------------- + +[ + ["keyword", "type"], + ["class-name", [ + "storage" + ]], + ["keyword", "is"], + ["class-name", [ + ["builtin", "int"] + ]], + + ["keyword", "function"], + ["function", "add"], + ["punctuation", "("], + ["keyword", "const"], + " store ", + ["punctuation", ":"], + ["class-name", [ + "storage" + ]], + ["punctuation", ";"], + ["keyword", "const"], + " delta ", + ["punctuation", ":"], + ["class-name", [ + ["builtin", "int"] + ]], + ["punctuation", ")"], + ["punctuation", ":"], + ["class-name", [ + "storage" + ]], + ["keyword", "is"], + " store ", + ["operator", "+"], + " delta" +] diff --git a/tests/languages/peoplecode/class-name_feature.test b/tests/languages/peoplecode/class-name_feature.test new file mode 100644 index 0000000000..51091f7f09 --- /dev/null +++ b/tests/languages/peoplecode/class-name_feature.test @@ -0,0 +1,264 @@ +class FactorialClass + method factorial(&I as number) returns number; +end-class; + +class Fruit + property number FruitCount; +end-class; + +class Banana extends Fruit + property number BananaCount; +end-class; + +local Banana &MyBanana = Create Banana(); +local Fruit &MyFruit = &MyBanana; /* okay, Banana is a subtype of Fruit */ +local number &Num = &MyBanana.BananaCount; + +/* generic building class */ +class BuildingAsset + method Acquire(); + method DisasterPrep(); +end-class; + +method Acquire + %This.DisasterPrep(); +end-method;method DisasterPrep + PrepareForFire(); +end-method; + +/* building in Vancouver */ +class VancouverBuilding extends BuildingAssetmethod DisasterPrep(); +end-class; + +method DisasterPrep + PrepareForEarthquake();%Super.DisasterPrep(); /* call superclass method */ +end-method; + +/* building in Edmonton */ +class EdmontonBuilding extends BuildingAssetmethod DisasterPrep(); +end-class; + +method DisasterPrep + PrepareForFreezing();%Super.DisasterPrep(); /* call superclass method */ +end-method; + +local BuildingAsset &Building = Create VancouverBuilding(); + +&Building.Acquire(); /* calls PrepareForEarthquake then PrepareForFire */ + +&Building = Create EdmontonBuilding(); + +&Building.Acquire(); /* calls PrepareForFreezing then PrepareForFire */ + +---------------------------------------------------- + +[ + ["keyword", "class"], + ["class-name", ["FactorialClass"]], + + ["keyword", "method"], + ["function-definition", "factorial"], + ["punctuation", "("], + "&I ", + ["keyword", "as"], + ["class-name", ["number"]], + ["punctuation", ")"], + ["keyword", "returns"], + ["class-name", ["number"]], + ["punctuation", ";"], + + ["keyword", "end-class"], + ["punctuation", ";"], + + ["keyword", "class"], + ["class-name", ["Fruit"]], + + ["keyword", "property"], + ["class-name", ["number"]], + " FruitCount", + ["punctuation", ";"], + + ["keyword", "end-class"], + ["punctuation", ";"], + + ["keyword", "class"], + ["class-name", ["Banana"]], + ["keyword", "extends"], + ["class-name", ["Fruit"]], + + ["keyword", "property"], + ["class-name", ["number"]], + " BananaCount", + ["punctuation", ";"], + + ["keyword", "end-class"], + ["punctuation", ";"], + + ["keyword", "local"], + ["class-name", ["Banana"]], + " &MyBanana ", + ["operator", "="], + ["keyword", "Create"], + ["class-name", ["Banana"]], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + + ["keyword", "local"], + ["class-name", ["Fruit"]], + " &MyFruit ", + ["operator", "="], + " &MyBanana", + ["punctuation", ";"], + ["comment", "/* okay, Banana is a subtype of Fruit */"], + + ["keyword", "local"], + ["class-name", ["number"]], + " &Num ", + ["operator", "="], + " &MyBanana", + ["punctuation", "."], + "BananaCount", + ["punctuation", ";"], + + ["comment", "/* generic building class */"], + + ["keyword", "class"], + ["class-name", ["BuildingAsset"]], + + ["keyword", "method"], + ["function-definition", "Acquire"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + + ["keyword", "method"], + ["function-definition", "DisasterPrep"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + + ["keyword", "end-class"], + ["punctuation", ";"], + + ["keyword", "method"], + ["function-definition", "Acquire"], + + ["variable", "%This"], + ["punctuation", "."], + ["function", "DisasterPrep"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + + ["keyword", "end-method"], + ["punctuation", ";"], + ["keyword", "method"], + ["function-definition", "DisasterPrep"], + + ["function", "PrepareForFire"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + + ["keyword", "end-method"], + ["punctuation", ";"], + + ["comment", "/* building in Vancouver */"], + + ["keyword", "class"], + ["class-name", ["VancouverBuilding"]], + ["keyword", "extends"], + ["class-name", ["BuildingAssetmethod"]], + ["function", "DisasterPrep"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + + ["keyword", "end-class"], + ["punctuation", ";"], + + ["keyword", "method"], + ["function-definition", "DisasterPrep"], + + ["function", "PrepareForEarthquake"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + ["variable", "%Super"], + ["punctuation", "."], + ["function", "DisasterPrep"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + ["comment", "/* call superclass method */"], + + ["keyword", "end-method"], + ["punctuation", ";"], + + ["comment", "/* building in Edmonton */"], + + ["keyword", "class"], + ["class-name", ["EdmontonBuilding"]], + ["keyword", "extends"], + ["class-name", ["BuildingAssetmethod"]], + ["function", "DisasterPrep"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + + ["keyword", "end-class"], + ["punctuation", ";"], + + ["keyword", "method"], + ["function-definition", "DisasterPrep"], + + ["function", "PrepareForFreezing"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + ["variable", "%Super"], + ["punctuation", "."], + ["function", "DisasterPrep"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + ["comment", "/* call superclass method */"], + + ["keyword", "end-method"], + ["punctuation", ";"], + + ["keyword", "local"], + ["class-name", ["BuildingAsset"]], + " &Building ", + ["operator", "="], + ["keyword", "Create"], + ["class-name", ["VancouverBuilding"]], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + + "\r\n\r\n&Building", + ["punctuation", "."], + ["function", "Acquire"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + ["comment", "/* calls PrepareForEarthquake then PrepareForFire */"], + + "\r\n\r\n&Building ", + ["operator", "="], + ["keyword", "Create"], + ["class-name", ["EdmontonBuilding"]], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + + "\r\n\r\n&Building", + ["punctuation", "."], + ["function", "Acquire"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"], + ["comment", "/* calls PrepareForFreezing then PrepareForFire */"] +] diff --git a/tests/languages/peoplecode/function_feature.test b/tests/languages/peoplecode/function_feature.test new file mode 100644 index 0000000000..f3edb215f4 --- /dev/null +++ b/tests/languages/peoplecode/function_feature.test @@ -0,0 +1,9 @@ +GetCurrEffRow() + +---------------------------------------------------- + +[ + ["function", "GetCurrEffRow"], + ["punctuation", "("], + ["punctuation", ")"] +] diff --git a/tests/languages/perl/variable_feature.test b/tests/languages/perl/variable_feature.test index aad023c485..4425d59785 100644 --- a/tests/languages/perl/variable_feature.test +++ b/tests/languages/perl/variable_feature.test @@ -3,6 +3,8 @@ $#foo ${^POSTMATCH} +${...} + $^V @1 @@ -26,6 +28,11 @@ $foo::'bar ["variable", "${^POSTMATCH}"], + ["variable", "$"], + ["punctuation", "{"], + ["operator", "..."], + ["punctuation", "}"], + ["variable", "$^V"], ["variable", "@1"], @@ -44,4 +51,4 @@ $foo::'bar ---------------------------------------------------- -Checks for variables. \ No newline at end of file +Checks for variables. diff --git a/tests/languages/phpdoc/class-name_feature.test b/tests/languages/phpdoc/class-name_feature.test index 9003407d55..b0a5880687 100644 --- a/tests/languages/phpdoc/class-name_feature.test +++ b/tests/languages/phpdoc/class-name_feature.test @@ -5,6 +5,26 @@ * @throws \foo\MyException if something bad happens */ +/** + * @param callback $parameter + * @param resource $parameter + * @param boolean $parameter + * @param integer $parameter + * @param double $parameter + * @param object $parameter + * @param string $parameter + * @param array $parameter + * @param false $parameter + * @param float $parameter + * @param mixed $parameter + * @param bool $parameter + * @param null $parameter + * @param self $parameter + * @param true $parameter + * @param void $parameter + * @param int $parameter + */ + ---------------------------------------------------- [ @@ -39,7 +59,126 @@ ["punctuation", "\\"], "MyException" ]], - " if something bad happens\r\n */" + " if something bad happens\r\n */\r\n\r\n/**\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "callback"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "resource"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "boolean"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "integer"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "double"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "object"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "string"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "array"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "false"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "float"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "mixed"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "bool"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "null"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "self"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "true"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "void"] + ]], + ["parameter", "$parameter"], + + "\r\n * ", + ["keyword", "@param"], + ["class-name", [ + ["keyword", "int"] + ]], + ["parameter", "$parameter"], + + "\r\n */" ] ---------------------------------------------------- diff --git a/tests/languages/promql/keyword_feature.test b/tests/languages/promql/keyword_feature.test new file mode 100644 index 0000000000..f579e7f1e3 --- /dev/null +++ b/tests/languages/promql/keyword_feature.test @@ -0,0 +1,43 @@ +sum +min +max +avg +group +stddev +stdvar +count +count_values +bottomk +topk +quantile +on +ignoring +group_right +group_left +by +without +offset + +---------------------------------------------------- + +[ + ["keyword", "sum"], + ["keyword", "min"], + ["keyword", "max"], + ["keyword", "avg"], + ["keyword", "group"], + ["keyword", "stddev"], + ["keyword", "stdvar"], + ["keyword", "count"], + ["keyword", "count_values"], + ["keyword", "bottomk"], + ["keyword", "topk"], + ["keyword", "quantile"], + ["keyword", "on"], + ["keyword", "ignoring"], + ["keyword", "group_right"], + ["keyword", "group_left"], + ["keyword", "by"], + ["keyword", "without"], + ["keyword", "offset"] +] diff --git a/tests/languages/promql/number_feature.test b/tests/languages/promql/number_feature.test new file mode 100644 index 0000000000..39af1314ed --- /dev/null +++ b/tests/languages/promql/number_feature.test @@ -0,0 +1,17 @@ +23 +-2.43 +3.4e-9 +0x8f +-Inf +NaN + +---------------------------------------------------- + +[ + ["number", "23"], + ["number", "-2.43"], + ["number", "3.4e-9"], + ["number", "0x8f"], + ["number", "-Inf"], + ["number", "NaN"] +] diff --git a/tests/languages/promql/operator_feature.test b/tests/languages/promql/operator_feature.test new file mode 100644 index 0000000000..f3b638fc67 --- /dev/null +++ b/tests/languages/promql/operator_feature.test @@ -0,0 +1,25 @@ +^ * / % + - +== != <= < >= > + +and unless or + +---------------------------------------------------- + +[ + ["operator", "^"], + ["operator", "*"], + ["operator", "/"], + ["operator", "%"], + ["operator", "+"], + ["operator", "-"], + ["operator", "=="], + ["operator", "!="], + ["operator", "<="], + ["operator", "<"], + ["operator", ">="], + ["operator", ">"], + + ["operator", "and"], + ["operator", "unless"], + ["operator", "or"] +] diff --git a/tests/languages/promql/time_series_selection.test b/tests/languages/promql/time_series_selection.test index dc7edbe954..a933e53da8 100644 --- a/tests/languages/promql/time_series_selection.test +++ b/tests/languages/promql/time_series_selection.test @@ -1,5 +1,7 @@ http_requests_total{job="apiserver", handler="/api/comments"}[5m] +http_requests_total offset 5m + http_requests_total{job=~".*server"} ---------------------------------------------------- @@ -23,6 +25,12 @@ http_requests_total{job=~".*server"} ["punctuation", "]"] ]], + "\r\n\r\nhttp_requests_total ", + ["keyword", "offset"], + ["context-range", [ + ["range-duration", "5m"] + ]], + "\r\n\r\nhttp_requests_total", ["context-labels", [ ["punctuation", "{"], diff --git a/tests/languages/pug/filter_feature.test b/tests/languages/pug/filter_feature.test new file mode 100644 index 0000000000..0e23802161 --- /dev/null +++ b/tests/languages/pug/filter_feature.test @@ -0,0 +1,11 @@ +:language + code + +---------------------------------------------------- + +[ + ["filter", [ + ["filter-name", ":language"], + "\r\n\tcode" + ]] +] diff --git a/tests/languages/pure/punctuation_feature.test b/tests/languages/pure/punctuation_feature.test new file mode 100644 index 0000000000..dfad5774e3 --- /dev/null +++ b/tests/languages/pure/punctuation_feature.test @@ -0,0 +1,13 @@ +( ) { } [ ] ; + +---------------------------------------------------- + +[ + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", "{"], + ["punctuation", "}"], + ["punctuation", "["], + ["punctuation", "]"], + ["punctuation", ";"] +] diff --git a/tests/languages/purebasic/function_feature.test b/tests/languages/purebasic/function_feature.test index a2d62b58e7..896990e8e7 100644 --- a/tests/languages/purebasic/function_feature.test +++ b/tests/languages/purebasic/function_feature.test @@ -1,211 +1,9 @@ -DECLARECDLL -DECLAREDLL -COMPILERSELECT -COMPILERCASE -COMPILERDEFAULT -COMPILERENDSELECT -COMPILERERROR -ENABLEEXPLICIT -DISABLEEXPLICIT -NOT -AND -OR -XOR -CALLDEBUGGER -DEBUGLEVEL -ENABLEDEBUGGER -DISABLEDEBUGGER -RESTORE -READ -INCLUDEPATH -INCLUDEBINARY -THREADED -RUNTIME -WITH -ENDWITH -STRUCTUREUNION -ENDSTRUCTUREUNION -ALIGN -NEWLIST -NEWMAP -INTERFACE -ENDINTERFACE -EXTENDS -ENUMERATION -ENDENUMERATION -SWAP -FOREACH -CONTINUE -FAKERETURN -GOTO -GOSUB -RETURN -BREAK -MODULE -ENDMODULE -DECLAREMODULE -ENDDECLAREMODULE -DECLARE -DECLAREC -PROTOTYPE -PROTOTYPEC -ENABLEASM -DISABLEASM -DIM -REDIM -DATA -DATASECTION -ENDDATASECTION -TO -PROCEDURERETURN -DEBUG -DEFAULT -CASE -SELECT -ENDSELECT -AS -IMPORT -ENDIMPORT -IMPORTC -COMPILERIF -COMPILERELSE -COMPILERENDIF -COMPILERELSEIF -END -STRUCTURE -ENDSTRUCTURE -WHILE -WEND -FOR -NEXT -STEP -IF -ELSE -ELSEIF -ENDIF -REPEAT -UNTIL -PROCEDURE -PROCEDUREDLL -PROCEDUREC -PROCEDURECDLL -ENDPROCEDURE -PROTECTED -SHARED -STATIC -GLOBAL -DEFINE -INCLUDEFILE -XINCLUDEFILE -MACRO -ENDMACRO - ----------------------------------------------------- - -[ - ["keyword", "DECLARECDLL"], - ["keyword", "DECLAREDLL"], - ["keyword", "COMPILERSELECT"], - ["keyword", "COMPILERCASE"], - ["keyword", "COMPILERDEFAULT"], - ["keyword", "COMPILERENDSELECT"], - ["keyword", "COMPILERERROR"], - ["keyword", "ENABLEEXPLICIT"], - ["keyword", "DISABLEEXPLICIT"], - ["keyword", "NOT"], - ["keyword", "AND"], - ["keyword", "OR"], - ["keyword", "XOR"], - ["keyword", "CALLDEBUGGER"], - ["keyword", "DEBUGLEVEL"], - ["keyword", "ENABLEDEBUGGER"], - ["keyword", "DISABLEDEBUGGER"], - ["keyword", "RESTORE"], - ["keyword", "READ"], - ["keyword", "INCLUDEPATH"], - ["keyword", "INCLUDEBINARY"], - ["keyword", "THREADED"], - ["keyword", "RUNTIME"], - ["keyword", "WITH"], - ["keyword", "ENDWITH"], - ["keyword", "STRUCTUREUNION"], - ["keyword", "ENDSTRUCTUREUNION"], - ["keyword", "ALIGN"], - ["keyword", "NEWLIST"], - ["keyword", "NEWMAP"], - ["keyword", "INTERFACE"], - ["keyword", "ENDINTERFACE"], - ["keyword", "EXTENDS"], - ["keyword", "ENUMERATION"], - ["keyword", "ENDENUMERATION"], - ["keyword", "SWAP"], - ["keyword", "FOREACH"], - ["keyword", "CONTINUE"], - ["keyword", "FAKERETURN"], - ["keyword", "GOTO"], - ["keyword", "GOSUB"], - ["keyword", "RETURN"], - ["keyword", "BREAK"], - ["keyword", "MODULE"], - ["keyword", "ENDMODULE"], - ["keyword", "DECLAREMODULE"], - ["keyword", "ENDDECLAREMODULE"], - ["keyword", "DECLARE"], - ["keyword", "DECLAREC"], - ["keyword", "PROTOTYPE"], - ["keyword", "PROTOTYPEC"], - ["keyword", "ENABLEASM"], - ["keyword", "DISABLEASM"], - ["keyword", "DIM"], - ["keyword", "REDIM"], - ["keyword", "DATA"], - ["keyword", "DATASECTION"], - ["keyword", "ENDDATASECTION"], - ["keyword", "TO"], - ["keyword", "PROCEDURERETURN"], - ["keyword", "DEBUG"], - ["keyword", "DEFAULT"], - ["keyword", "CASE"], - ["keyword", "SELECT"], - ["keyword", "ENDSELECT"], - ["keyword", "AS"], - ["keyword", "IMPORT"], - ["keyword", "ENDIMPORT"], - ["keyword", "IMPORTC"], - ["keyword", "COMPILERIF"], - ["keyword", "COMPILERELSE"], - ["keyword", "COMPILERENDIF"], - ["keyword", "COMPILERELSEIF"], - ["keyword", "END"], - ["keyword", "STRUCTURE"], - ["keyword", "ENDSTRUCTURE"], - ["keyword", "WHILE"], - ["keyword", "WEND"], - ["keyword", "FOR"], - ["keyword", "NEXT"], - ["keyword", "STEP"], - ["keyword", "IF"], - ["keyword", "ELSE"], - ["keyword", "ELSEIF"], - ["keyword", "ENDIF"], - ["keyword", "REPEAT"], - ["keyword", "UNTIL"], - ["keyword", "PROCEDURE"], - ["keyword", "PROCEDUREDLL"], - ["keyword", "PROCEDUREC"], - ["keyword", "PROCEDURECDLL"], - ["keyword", "ENDPROCEDURE"], - ["keyword", "PROTECTED"], - ["keyword", "SHARED"], - ["keyword", "STATIC"], - ["keyword", "GLOBAL"], - ["keyword", "DEFINE"], - ["keyword", "INCLUDEFILE"], - ["keyword", "XINCLUDEFILE"], - ["keyword", "MACRO"], - ["keyword", "ENDMACRO"] -] - ----------------------------------------------------- - -Checks for keywords. \ No newline at end of file +foo() + +---------------------------------------------------- + +[ + ["function", "foo"], + ["punctuation", "("], + ["punctuation", ")"] +] diff --git a/tests/languages/purebasic/keyword_feature.test b/tests/languages/purebasic/keyword_feature.test new file mode 100644 index 0000000000..0d3f51f2f2 --- /dev/null +++ b/tests/languages/purebasic/keyword_feature.test @@ -0,0 +1,211 @@ +DECLARECDLL +DECLAREDLL +COMPILERSELECT +COMPILERCASE +COMPILERDEFAULT +COMPILERENDSELECT +COMPILERERROR +ENABLEEXPLICIT +DISABLEEXPLICIT +NOT +AND +OR +XOR +CALLDEBUGGER +DEBUGLEVEL +ENABLEDEBUGGER +DISABLEDEBUGGER +RESTORE +READ +INCLUDEPATH +INCLUDEBINARY +THREADED +RUNTIME +WITH +ENDWITH +STRUCTUREUNION +ENDSTRUCTUREUNION +ALIGN +NEWLIST +NEWMAP +INTERFACE +ENDINTERFACE +EXTENDS +ENUMERATION +ENDENUMERATION +SWAP +FOREACH +CONTINUE +FAKERETURN +GOTO +GOSUB +RETURN +BREAK +MODULE +ENDMODULE +DECLAREMODULE +ENDDECLAREMODULE +DECLARE +DECLAREC +PROTOTYPE +PROTOTYPEC +ENABLEASM +DISABLEASM +DIM +REDIM +DATA +DATASECTION +ENDDATASECTION +TO +PROCEDURERETURN +DEBUG +DEFAULT +CASE +SELECT +ENDSELECT +AS +IMPORT +ENDIMPORT +IMPORTC +COMPILERIF +COMPILERELSE +COMPILERENDIF +COMPILERELSEIF +END +STRUCTURE +ENDSTRUCTURE +WHILE +WEND +FOR +NEXT +STEP +IF +ELSE +ELSEIF +ENDIF +REPEAT +UNTIL +PROCEDURE +PROCEDUREDLL +PROCEDUREC +PROCEDURECDLL +ENDPROCEDURE +PROTECTED +SHARED +STATIC +GLOBAL +DEFINE +INCLUDEFILE +XINCLUDEFILE +MACRO +ENDMACRO + +---------------------------------------------------- + +[ + ["keyword", "DECLARECDLL"], + ["keyword", "DECLAREDLL"], + ["keyword", "COMPILERSELECT"], + ["keyword", "COMPILERCASE"], + ["keyword", "COMPILERDEFAULT"], + ["keyword", "COMPILERENDSELECT"], + ["keyword", "COMPILERERROR"], + ["keyword", "ENABLEEXPLICIT"], + ["keyword", "DISABLEEXPLICIT"], + ["keyword", "NOT"], + ["keyword", "AND"], + ["keyword", "OR"], + ["keyword", "XOR"], + ["keyword", "CALLDEBUGGER"], + ["keyword", "DEBUGLEVEL"], + ["keyword", "ENABLEDEBUGGER"], + ["keyword", "DISABLEDEBUGGER"], + ["keyword", "RESTORE"], + ["keyword", "READ"], + ["keyword", "INCLUDEPATH"], + ["keyword", "INCLUDEBINARY"], + ["keyword", "THREADED"], + ["keyword", "RUNTIME"], + ["keyword", "WITH"], + ["keyword", "ENDWITH"], + ["keyword", "STRUCTUREUNION"], + ["keyword", "ENDSTRUCTUREUNION"], + ["keyword", "ALIGN"], + ["keyword", "NEWLIST"], + ["keyword", "NEWMAP"], + ["keyword", "INTERFACE"], + ["keyword", "ENDINTERFACE"], + ["keyword", "EXTENDS"], + ["keyword", "ENUMERATION"], + ["keyword", "ENDENUMERATION"], + ["keyword", "SWAP"], + ["keyword", "FOREACH"], + ["keyword", "CONTINUE"], + ["keyword", "FAKERETURN"], + ["keyword", "GOTO"], + ["keyword", "GOSUB"], + ["keyword", "RETURN"], + ["keyword", "BREAK"], + ["keyword", "MODULE"], + ["keyword", "ENDMODULE"], + ["keyword", "DECLAREMODULE"], + ["keyword", "ENDDECLAREMODULE"], + ["keyword", "DECLARE"], + ["keyword", "DECLAREC"], + ["keyword", "PROTOTYPE"], + ["keyword", "PROTOTYPEC"], + ["keyword", "ENABLEASM"], + ["keyword", "DISABLEASM"], + ["keyword", "DIM"], + ["keyword", "REDIM"], + ["keyword", "DATA"], + ["keyword", "DATASECTION"], + ["keyword", "ENDDATASECTION"], + ["keyword", "TO"], + ["keyword", "PROCEDURERETURN"], + ["keyword", "DEBUG"], + ["keyword", "DEFAULT"], + ["keyword", "CASE"], + ["keyword", "SELECT"], + ["keyword", "ENDSELECT"], + ["keyword", "AS"], + ["keyword", "IMPORT"], + ["keyword", "ENDIMPORT"], + ["keyword", "IMPORTC"], + ["keyword", "COMPILERIF"], + ["keyword", "COMPILERELSE"], + ["keyword", "COMPILERENDIF"], + ["keyword", "COMPILERELSEIF"], + ["keyword", "END"], + ["keyword", "STRUCTURE"], + ["keyword", "ENDSTRUCTURE"], + ["keyword", "WHILE"], + ["keyword", "WEND"], + ["keyword", "FOR"], + ["keyword", "NEXT"], + ["keyword", "STEP"], + ["keyword", "IF"], + ["keyword", "ELSE"], + ["keyword", "ELSEIF"], + ["keyword", "ENDIF"], + ["keyword", "REPEAT"], + ["keyword", "UNTIL"], + ["keyword", "PROCEDURE"], + ["keyword", "PROCEDUREDLL"], + ["keyword", "PROCEDUREC"], + ["keyword", "PROCEDURECDLL"], + ["keyword", "ENDPROCEDURE"], + ["keyword", "PROTECTED"], + ["keyword", "SHARED"], + ["keyword", "STATIC"], + ["keyword", "GLOBAL"], + ["keyword", "DEFINE"], + ["keyword", "INCLUDEFILE"], + ["keyword", "XINCLUDEFILE"], + ["keyword", "MACRO"], + ["keyword", "ENDMACRO"] +] + +---------------------------------------------------- + +Checks for keywords. \ No newline at end of file diff --git a/tests/languages/purescript/keyword_feature.test b/tests/languages/purescript/keyword_feature.test index 3d47c6bc59..d440a53166 100644 --- a/tests/languages/purescript/keyword_feature.test +++ b/tests/languages/purescript/keyword_feature.test @@ -5,6 +5,7 @@ data derive do else +forall if in infixl @@ -30,6 +31,7 @@ where ["keyword", "derive"], ["keyword", "do"], ["keyword", "else"], + ["keyword", "forall"], ["keyword", "if"], ["keyword", "in"], ["keyword", "infixl"], diff --git a/tests/languages/q/comment_feature.test b/tests/languages/q/comment_feature.test index c78bb33618..fac469913c 100644 --- a/tests/languages/q/comment_feature.test +++ b/tests/languages/q/comment_feature.test @@ -6,6 +6,8 @@ Foo bar "baz" \ +`john / an atom of type symbol + \ Foo Bar "baz" @@ -15,10 +17,14 @@ Bar "baz" [ ["comment", "#!/usr/bin/env q"], ["comment", "/ Foobar \"baz\""], + ["comment", "/\r\nFoo\r\nbar \"baz\"\r\n\\"], + + ["symbol", "`john"], ["comment", "/ an atom of type symbol"], + ["comment", "\\\r\nFoo\r\nBar \"baz\""] ] ---------------------------------------------------- -Checks for comments. \ No newline at end of file +Checks for comments. diff --git a/tests/languages/q/punctuation_feature.test b/tests/languages/q/punctuation_feature.test new file mode 100644 index 0000000000..ca50be4266 --- /dev/null +++ b/tests/languages/q/punctuation_feature.test @@ -0,0 +1,17 @@ +( ) { } [ ] ; + +sp.s + +---------------------------------------------------- + +[ + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", "{"], + ["punctuation", "}"], + ["punctuation", "["], + ["punctuation", "]"], + ["punctuation", ";"], + + "\r\n\r\nsp", ["punctuation", "."], "s" +] diff --git a/tests/languages/qsharp/keyword_feature.test b/tests/languages/qsharp/keyword_feature.test new file mode 100644 index 0000000000..ec67ccfcd2 --- /dev/null +++ b/tests/languages/qsharp/keyword_feature.test @@ -0,0 +1,129 @@ +// type +Adj +BigInt +Bool +Ctl +Double +false +Int +One +Pauli +PauliI +PauliX +PauliY +PauliZ +Qubit +Range +Result +String +true +Unit +Zero + +// other +Adjoint +adjoint +apply +as +auto +body +borrow +borrowing +Controlled +controlled +distribute +elif +else +fail +fixup +for +function +if +in +internal +intrinsic +invert +is +let +mutable +namespace +new +newtype +open +operation +repeat +return +self +set +until +use +using +while +within + +---------------------------------------------------- + +[ + ["comment", "// type"], + ["keyword", "Adj"], + ["keyword", "BigInt"], + ["keyword", "Bool"], + ["keyword", "Ctl"], + ["keyword", "Double"], + ["keyword", "false"], + ["keyword", "Int"], + ["keyword", "One"], + ["keyword", "Pauli"], + ["keyword", "PauliI"], + ["keyword", "PauliX"], + ["keyword", "PauliY"], + ["keyword", "PauliZ"], + ["keyword", "Qubit"], + ["keyword", "Range"], + ["keyword", "Result"], + ["keyword", "String"], + ["keyword", "true"], + ["keyword", "Unit"], + ["keyword", "Zero"], + + ["comment", "// other"], + ["keyword", "Adjoint"], + ["keyword", "adjoint"], + ["keyword", "apply"], + ["keyword", "as"], + ["keyword", "auto"], + ["keyword", "body"], + ["keyword", "borrow"], + ["keyword", "borrowing"], + ["keyword", "Controlled"], + ["keyword", "controlled"], + ["keyword", "distribute"], + ["keyword", "elif"], + ["keyword", "else"], + ["keyword", "fail"], + ["keyword", "fixup"], + ["keyword", "for"], + ["keyword", "function"], + ["keyword", "if"], + ["keyword", "in"], + ["keyword", "internal"], + ["keyword", "intrinsic"], + ["keyword", "invert"], + ["keyword", "is"], + ["keyword", "let"], + ["keyword", "mutable"], + ["keyword", "namespace"], + ["keyword", "new"], + ["keyword", "newtype"], + ["keyword", "open"], + ["keyword", "operation"], + ["keyword", "repeat"], + ["keyword", "return"], + ["keyword", "self"], + ["keyword", "set"], + ["keyword", "until"], + ["keyword", "use"], + ["keyword", "using"], + ["keyword", "while"], + ["keyword", "within"] +] diff --git a/tests/languages/qsharp/string_feature.test b/tests/languages/qsharp/string_feature.test new file mode 100644 index 0000000000..146080fd29 --- /dev/null +++ b/tests/languages/qsharp/string_feature.test @@ -0,0 +1,39 @@ +"" +"foo" +"foo\"\n" + +$"" +$"foo" +$"\"" +$"foo{1+1}baz" + +---------------------------------------------------- + +[ + ["string", "\"\""], + ["string", "\"foo\""], + ["string", "\"foo\\\"\\n\""], + + ["interpolation-string", [ + ["string", "$\"\""] + ]], + ["interpolation-string", [ + ["string", "$\"foo\""] + ]], + ["interpolation-string", [ + ["string", "$\"\\\"\""] + ]], + ["interpolation-string", [ + ["string", "$\"foo"], + ["interpolation", [ + ["punctuation", "{"], + ["expression", [ + ["number", "1"], + ["operator", "+"], + ["number", "1"] + ]], + ["punctuation", "}"] + ]], + ["string", "baz\""] + ]] +] diff --git a/tests/languages/r/punctuation_feature.test b/tests/languages/r/punctuation_feature.test new file mode 100644 index 0000000000..4a7c5ff4c3 --- /dev/null +++ b/tests/languages/r/punctuation_feature.test @@ -0,0 +1,14 @@ +( ) { } [ ] , ; + +---------------------------------------------------- + +[ + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", "{"], + ["punctuation", "}"], + ["punctuation", "["], + ["punctuation", "]"], + ["punctuation", ","], + ["punctuation", ";"] +] diff --git a/tests/languages/racket/identifier_feature.test b/tests/languages/racket/identifier_feature.test new file mode 100644 index 0000000000..e57533ce55 --- /dev/null +++ b/tests/languages/racket/identifier_feature.test @@ -0,0 +1,7 @@ +|\x9;\x9;| + +---------------------------------------------------- + +[ + ["identifier", "|\\x9;\\x9;|"] +] diff --git a/tests/languages/rip/punctuation_feature.test b/tests/languages/rip/punctuation_feature.test new file mode 100644 index 0000000000..2ef1910a00 --- /dev/null +++ b/tests/languages/rip/punctuation_feature.test @@ -0,0 +1,28 @@ +.. ... + +` , . : ; = / \ +( ) < > [ ] { } + +---------------------------------------------------- + +[ + ["punctuation", ".."], ["punctuation", "..."], + + ["punctuation", "`"], + ["punctuation", ","], + ["punctuation", "."], + ["punctuation", ":"], + ["punctuation", ";"], + ["punctuation", "="], + ["punctuation", "/"], + ["punctuation", "\\"], + + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", "<"], + ["punctuation", ">"], + ["punctuation", "["], + ["punctuation", "]"], + ["punctuation", "{"], + ["punctuation", "}"] +] diff --git a/tests/languages/ruby+haml/ruby_inclusion.test b/tests/languages/ruby+haml/ruby_inclusion.test new file mode 100644 index 0000000000..dc1cd7cb25 --- /dev/null +++ b/tests/languages/ruby+haml/ruby_inclusion.test @@ -0,0 +1,58 @@ +:ruby + def circumference + Math::PI * radius ** 2 + end + +~ + :ruby + def circumference + Math::PI * radius ** 2 + end + +---------------------------------------------------- + +[ + ["filter-ruby", [ + ["filter-name", ":ruby"], + + ["keyword", "def"], + ["method-definition", [ + ["function", "circumference"] + ]], + + ["constant", "Math"], + ["punctuation", ":"], + ["punctuation", ":"], + ["constant", "PI"], + ["operator", "*"], + " radius ", + ["operator", "*"], + ["operator", "*"], + ["number", "2"], + + ["keyword", "end"] + ]], + + ["punctuation", "~"], + + ["filter-ruby", [ + ["filter-name", ":ruby"], + + ["keyword", "def"], + ["method-definition", [ + ["function", "circumference"] + ]], + + ["constant", "Math"], + ["punctuation", ":"], + ["punctuation", ":"], + ["constant", "PI"], + ["operator", "*"], + " radius ", + ["operator", "*"], + ["operator", "*"], + ["number", "2"], + + ["keyword", "end"] + ]] +] diff --git a/tests/languages/rust/namespace_feature.test b/tests/languages/rust/namespace_feature.test index f858e07bbd..3ccfa1ad52 100644 --- a/tests/languages/rust/namespace_feature.test +++ b/tests/languages/rust/namespace_feature.test @@ -19,6 +19,9 @@ pub static ALLOCATOR: alloc::Tracing = alloc::Tracing::new(); unsafe fn alloc(&self, layout: std::alloc::Layout) -> *mut u8 {} +use crate::cool::function as root_function; +self::cool::function(); + ---------------------------------------------------- [ @@ -28,12 +31,14 @@ unsafe fn alloc(&self, layout: std::alloc::Layout) -> *mut u8 {} ["punctuation", "::"] ]], ["punctuation", "{"], + ["namespace", [ "fs", ["punctuation", "::"] ]], ["class-name", "File"], ["punctuation", ","], + ["namespace", [ "io", ["punctuation", "::"] @@ -44,14 +49,17 @@ unsafe fn alloc(&self, layout: std::alloc::Layout) -> *mut u8 {} ["class-name", "BufReader"], ["punctuation", "}"], ["punctuation", ","], + ["namespace", [ "path", ["punctuation", "::"] ]], ["class-name", "PathBuf"], ["punctuation", ","], + ["punctuation", "}"], ["punctuation", ";"], + ["keyword", "use"], ["punctuation", "::"], ["namespace", [ @@ -66,6 +74,7 @@ unsafe fn alloc(&self, layout: std::alloc::Layout) -> *mut u8 {} ["class-name", "Visitor"], ["punctuation", "}"], ["punctuation", ";"], + ["keyword", "use"], ["namespace", [ "std", @@ -81,10 +90,12 @@ unsafe fn alloc(&self, layout: std::alloc::Layout) -> *mut u8 {} ["class-name", "Ordering"], ["punctuation", "}"], ["punctuation", ";"], + ["keyword", "pub"], ["keyword", "mod"], ["module-declaration", "sample"], ["punctuation", ";"], + ["keyword", "extern"], ["keyword", "crate"], ["module-declaration", "test"], @@ -121,6 +132,7 @@ unsafe fn alloc(&self, layout: std::alloc::Layout) -> *mut u8 {} ["operator", "&"], "line", ["punctuation", ")"], + ["keyword", "self"], ["punctuation", "."], ["function", "read_records"], @@ -178,7 +190,30 @@ unsafe fn alloc(&self, layout: std::alloc::Layout) -> *mut u8 {} ["keyword", "mut"], ["keyword", "u8"], ["punctuation", "{"], - ["punctuation", "}"] + ["punctuation", "}"], + + ["keyword", "use"], + ["keyword", "crate"], + ["module-declaration", [ + ["punctuation", "::"], + "cool", + ["punctuation", "::"] + ]], + "function ", + ["keyword", "as"], + " root_function", + ["punctuation", ";"], + + ["keyword", "self"], + ["module-declaration", [ + ["punctuation", "::"], + "cool", + ["punctuation", "::"] + ]], + ["function", "function"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", ";"] ] ---------------------------------------------------- diff --git a/tests/languages/sas/number_feature.test b/tests/languages/sas/number_feature.test index 317a3212cc..add7c32f96 100644 --- a/tests/languages/sas/number_feature.test +++ b/tests/languages/sas/number_feature.test @@ -7,6 +7,9 @@ BadFacex 0c1x 0b0ax +"3132,3334"x +'3132,3334'x + ---------------------------------------------------- [ @@ -17,7 +20,10 @@ BadFacex ["number", "1.4E+2"], "\r\nBadFacex\r\n", ["number", "0c1x"], - ["number", "0b0ax"] + ["number", "0b0ax"], + + ["numeric-constant", "\"3132,3334\"x"], + ["numeric-constant", "'3132,3334'x"] ] ---------------------------------------------------- diff --git a/tests/languages/sass/variable-line_feature.test b/tests/languages/sass/variable-line_feature.test index a7f62ffcfb..445c85ca5a 100644 --- a/tests/languages/sass/variable-line_feature.test +++ b/tests/languages/sass/variable-line_feature.test @@ -1,5 +1,6 @@ $width: 5em $foo: $bar + $baz +$foo: $bar - $baz $bar: #{$baz} ---------------------------------------------------- @@ -17,6 +18,13 @@ $bar: #{$baz} ["operator", "+"], ["variable", "$baz"] ]], + ["variable-line", [ + ["variable", "$foo"], + ["punctuation", ":"], + ["variable", "$bar"], + ["operator", "-"], + ["variable", "$baz"] + ]], ["variable-line", [ ["variable", "$bar"], ["punctuation", ":"], @@ -26,4 +34,4 @@ $bar: #{$baz} ---------------------------------------------------- -Checks for variable declarations. \ No newline at end of file +Checks for variable declarations. diff --git a/tests/languages/smali/builtin_feature.test b/tests/languages/smali/builtin_feature.test new file mode 100644 index 0000000000..46eba70331 --- /dev/null +++ b/tests/languages/smali/builtin_feature.test @@ -0,0 +1,73 @@ +new-array v0, v0, [I + +.method static constructor ()V + +.field mWifiOnUid:I + +.field public static mWifiRunning:Z = false +.field public static final PI:D = 3.141592653589793 + +.field static final LOG_TAG:Ljava/lang/String; = "CDMA" + +---------------------------------------------------- + +[ + "new-array ", + ["register", "v0"], + ["punctuation", ","], + ["register", "v0"], + ["punctuation", ","], + ["operator", "["], + ["builtin", "I"], + + ["keyword", ".method"], + ["keyword", "static"], + ["keyword", "constructor"], + ["function", ""], + ["punctuation", "("], + ["punctuation", ")"], + ["builtin", "V"], + + ["keyword", ".field"], + ["field", "mWifiOnUid"], + ["punctuation", ":"], + ["builtin", "I"], + + ["keyword", ".field"], + ["keyword", "public"], + ["keyword", "static"], + ["field", "mWifiRunning"], + ["punctuation", ":"], + ["builtin", "Z"], + ["operator", "="], + ["boolean", "false"], + + ["keyword", ".field"], + ["keyword", "public"], + ["keyword", "static"], + ["keyword", "final"], + ["field", "PI"], + ["punctuation", ":"], + ["builtin", "D"], + ["operator", "="], + ["number", "3.141592653589793"], + + ["keyword", ".field"], + ["keyword", "static"], + ["keyword", "final"], + ["field", "LOG_TAG"], + ["punctuation", ":"], + ["class-name", [ + ["builtin", "L"], + ["namespace", [ + "java", + ["punctuation", "/"], + "lang", + ["punctuation", "/"] + ]], + ["class-name", "String"] + ]], + ["punctuation", ";"], + ["operator", "="], + ["string", "\"CDMA\""] +] diff --git a/tests/languages/smali/label_feature.test b/tests/languages/smali/label_feature.test new file mode 100644 index 0000000000..6a45b9bfdb --- /dev/null +++ b/tests/languages/smali/label_feature.test @@ -0,0 +1,13 @@ +.line 989 +:cond_2b + +goto :goto_1f + +---------------------------------------------------- + +[ + ["keyword", ".line"], ["number", "989"], + ["punctuation", ":"], ["label", "cond_2b"], + + "\r\n\r\ngoto ", ["punctuation", ":"], ["label", "goto_1f"] +] diff --git a/tests/languages/smali/register_feature.test b/tests/languages/smali/register_feature.test new file mode 100644 index 0000000000..33eaa86a51 --- /dev/null +++ b/tests/languages/smali/register_feature.test @@ -0,0 +1,28 @@ +move v1, p1 + +move v2, p2 + +move-object v4, p3 + +move v5, p4 + +---------------------------------------------------- + +[ + "move ", ["register", "v1"], ["punctuation", ","], ["register", "p1"], + + "\r\n\r\nmove ", + ["register", "v2"], + ["punctuation", ","], + ["register", "p2"], + + "\r\n\r\nmove-object ", + ["register", "v4"], + ["punctuation", ","], + ["register", "p3"], + + "\r\n\r\nmove ", + ["register", "v5"], + ["punctuation", ","], + ["register", "p4"] +] diff --git a/tests/languages/sparql/keyword_feature.test b/tests/languages/sparql/keyword_feature.test index a4a2c48ed0..3449171fa5 100644 --- a/tests/languages/sparql/keyword_feature.test +++ b/tests/languages/sparql/keyword_feature.test @@ -102,6 +102,10 @@ UCASE( URI( YEAR( +GRAPH +BASE +PREFIX + ---------------------------------------------------- [ @@ -153,118 +157,66 @@ YEAR( ["keyword", "UUID"], ["keyword", "VALUES"], ["keyword", "WHERE"], - ["keyword", "ABS"], - ["punctuation", "("], - ["keyword", "AVG"], - ["punctuation", "("], - ["keyword", "BIND"], - ["punctuation", "("], - ["keyword", "BOUND"], - ["punctuation", "("], - ["keyword", "CEIL"], - ["punctuation", "("], - ["keyword", "COALESCE"], - ["punctuation", "("], - ["keyword", "CONCAT"], - ["punctuation", "("], - ["keyword", "CONTAINS"], - ["punctuation", "("], - ["keyword", "COUNT"], - ["punctuation", "("], - ["keyword", "DATATYPE"], - ["punctuation", "("], - ["keyword", "DAY"], - ["punctuation", "("], - ["keyword", "ENCODE_FOR_URI"], - ["punctuation", "("], - ["keyword", "FLOOR"], - ["punctuation", "("], - ["keyword", "GROUP_CONCAT"], - ["punctuation", "("], - ["keyword", "HOURS"], - ["punctuation", "("], - ["keyword", "IF"], - ["punctuation", "("], - ["keyword", "IRI"], - ["punctuation", "("], - ["keyword", "isBLANK"], - ["punctuation", "("], - ["keyword", "isIRI"], - ["punctuation", "("], - ["keyword", "isLITERAL"], - ["punctuation", "("], - ["keyword", "isNUMERIC"], - ["punctuation", "("], - ["keyword", "isURI"], - ["punctuation", "("], - ["keyword", "LANG"], - ["punctuation", "("], - ["keyword", "LANGMATCHES"], - ["punctuation", "("], - ["keyword", "LCASE"], - ["punctuation", "("], - ["keyword", "MAX"], - ["punctuation", "("], - ["keyword", "MD5"], - ["punctuation", "("], - ["keyword", "MIN"], - ["punctuation", "("], - ["keyword", "MINUTES"], - ["punctuation", "("], - ["keyword", "MONTH"], - ["punctuation", "("], - ["keyword", "ROUND"], - ["punctuation", "("], - ["keyword", "REGEX"], - ["punctuation", "("], - ["keyword", "REPLACE"], - ["punctuation", "("], - ["keyword", "sameTerm"], - ["punctuation", "("], - ["keyword", "SAMPLE"], - ["punctuation", "("], - ["keyword", "SECONDS"], - ["punctuation", "("], - ["keyword", "SHA1"], - ["punctuation", "("], - ["keyword", "SHA256"], - ["punctuation", "("], - ["keyword", "SHA384"], - ["punctuation", "("], - ["keyword", "SHA512"], - ["punctuation", "("], - ["keyword", "STR"], - ["punctuation", "("], - ["keyword", "STRAFTER"], - ["punctuation", "("], - ["keyword", "STRBEFORE"], - ["punctuation", "("], - ["keyword", "STRDT"], - ["punctuation", "("], - ["keyword", "STRENDS"], - ["punctuation", "("], - ["keyword", "STRLANG"], - ["punctuation", "("], - ["keyword", "STRLEN"], - ["punctuation", "("], - ["keyword", "STRSTARTS"], - ["punctuation", "("], - ["keyword", "SUBSTR"], - ["punctuation", "("], - ["keyword", "SUM"], - ["punctuation", "("], - ["keyword", "TIMEZONE"], - ["punctuation", "("], - ["keyword", "TZ"], - ["punctuation", "("], - ["keyword", "UCASE"], - ["punctuation", "("], - ["keyword", "URI"], - ["punctuation", "("], - ["keyword", "YEAR"], - ["punctuation", "("] -] + ["keyword", "ABS"], ["punctuation", "("], + ["keyword", "AVG"], ["punctuation", "("], + ["keyword", "BIND"], ["punctuation", "("], + ["keyword", "BOUND"], ["punctuation", "("], + ["keyword", "CEIL"], ["punctuation", "("], + ["keyword", "COALESCE"], ["punctuation", "("], + ["keyword", "CONCAT"], ["punctuation", "("], + ["keyword", "CONTAINS"], ["punctuation", "("], + ["keyword", "COUNT"], ["punctuation", "("], + ["keyword", "DATATYPE"], ["punctuation", "("], + ["keyword", "DAY"], ["punctuation", "("], + ["keyword", "ENCODE_FOR_URI"], ["punctuation", "("], + ["keyword", "FLOOR"], ["punctuation", "("], + ["keyword", "GROUP_CONCAT"], ["punctuation", "("], + ["keyword", "HOURS"], ["punctuation", "("], + ["keyword", "IF"], ["punctuation", "("], + ["keyword", "IRI"], ["punctuation", "("], + ["keyword", "isBLANK"], ["punctuation", "("], + ["keyword", "isIRI"], ["punctuation", "("], + ["keyword", "isLITERAL"], ["punctuation", "("], + ["keyword", "isNUMERIC"], ["punctuation", "("], + ["keyword", "isURI"], ["punctuation", "("], + ["keyword", "LANG"], ["punctuation", "("], + ["keyword", "LANGMATCHES"], ["punctuation", "("], + ["keyword", "LCASE"], ["punctuation", "("], + ["keyword", "MAX"], ["punctuation", "("], + ["keyword", "MD5"], ["punctuation", "("], + ["keyword", "MIN"], ["punctuation", "("], + ["keyword", "MINUTES"], ["punctuation", "("], + ["keyword", "MONTH"], ["punctuation", "("], + ["keyword", "ROUND"], ["punctuation", "("], + ["keyword", "REGEX"], ["punctuation", "("], + ["keyword", "REPLACE"], ["punctuation", "("], + ["keyword", "sameTerm"], ["punctuation", "("], + ["keyword", "SAMPLE"], ["punctuation", "("], + ["keyword", "SECONDS"], ["punctuation", "("], + ["keyword", "SHA1"], ["punctuation", "("], + ["keyword", "SHA256"], ["punctuation", "("], + ["keyword", "SHA384"], ["punctuation", "("], + ["keyword", "SHA512"], ["punctuation", "("], + ["keyword", "STR"], ["punctuation", "("], + ["keyword", "STRAFTER"], ["punctuation", "("], + ["keyword", "STRBEFORE"], ["punctuation", "("], + ["keyword", "STRDT"], ["punctuation", "("], + ["keyword", "STRENDS"], ["punctuation", "("], + ["keyword", "STRLANG"], ["punctuation", "("], + ["keyword", "STRLEN"], ["punctuation", "("], + ["keyword", "STRSTARTS"], ["punctuation", "("], + ["keyword", "SUBSTR"], ["punctuation", "("], + ["keyword", "SUM"], ["punctuation", "("], + ["keyword", "TIMEZONE"], ["punctuation", "("], + ["keyword", "TZ"], ["punctuation", "("], + ["keyword", "UCASE"], ["punctuation", "("], + ["keyword", "URI"], ["punctuation", "("], + ["keyword", "YEAR"], ["punctuation", "("], + ["keyword", "GRAPH"], + ["keyword", "BASE"], + ["keyword", "PREFIX"] +] ---------------------------------------------------- diff --git a/tests/languages/splunk-spl/boolean_feature.test b/tests/languages/splunk-spl/boolean_feature.test new file mode 100644 index 0000000000..22b8d3878a --- /dev/null +++ b/tests/languages/splunk-spl/boolean_feature.test @@ -0,0 +1,9 @@ +T F +true false + +---------------------------------------------------- + +[ + ["boolean", "T"], ["boolean", "F"], + ["boolean", "true"], ["boolean", "false"] +] diff --git a/tests/languages/splunk-spl/property_feature.test b/tests/languages/splunk-spl/property_feature.test new file mode 100644 index 0000000000..abf1af31da --- /dev/null +++ b/tests/languages/splunk-spl/property_feature.test @@ -0,0 +1,9 @@ +host="mailsecure_log" + +---------------------------------------------------- + +[ + ["property", "host"], + ["operator", "="], + ["string", "\"mailsecure_log\""] +] diff --git a/tests/languages/splunk-spl/punctuation_feature.test b/tests/languages/splunk-spl/punctuation_feature.test new file mode 100644 index 0000000000..553ff08f01 --- /dev/null +++ b/tests/languages/splunk-spl/punctuation_feature.test @@ -0,0 +1,11 @@ +( ) [ ] , + +---------------------------------------------------- + +[ + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", "["], + ["punctuation", "]"], + ["punctuation", ","] +] diff --git a/tests/languages/sqf/function_feature.test b/tests/languages/sqf/function_feature.test new file mode 100644 index 0000000000..8e45bb8fc7 --- /dev/null +++ b/tests/languages/sqf/function_feature.test @@ -0,0 +1,4397 @@ +abs +accTime +acos +action +actionIDs +actionKeys +actionKeysImages +actionKeysNames +actionKeysNamesArray +actionName +actionParams +activateAddons +activatedAddons +activateKey +add3DENConnection +add3DENEventHandler +add3DENLayer +addAction +addBackpack +addBackpackCargo +addBackpackCargoGlobal +addBackpackGlobal +addCamShake +addCuratorAddons +addCuratorCameraArea +addCuratorEditableObjects +addCuratorEditingArea +addCuratorPoints +addEditorObject +addEventHandler +addForce +addForceGeneratorRTD +addGoggles +addGroupIcon +addHandgunItem +addHeadgear +addItem +addItemCargo +addItemCargoGlobal +addItemPool +addItemToBackpack +addItemToUniform +addItemToVest +addLiveStats +addMagazine +addMagazineAmmoCargo +addMagazineCargo +addMagazineCargoGlobal +addMagazineGlobal +addMagazinePool +addMagazines +addMagazineTurret +addMenu +addMenuItem +addMissionEventHandler +addMPEventHandler +addMusicEventHandler +addOwnedMine +addPlayerScores +addPrimaryWeaponItem +addPublicVariableEventHandler +addRating +addResources +addScore +addScoreSide +addSecondaryWeaponItem +addSwitchableUnit +addTeamMember +addToRemainsCollector +addTorque +addUniform +addVehicle +addVest +addWaypoint +addWeapon +addWeaponCargo +addWeaponCargoGlobal +addWeaponGlobal +addWeaponItem +addWeaponPool +addWeaponTurret +admin +agent +agents +AGLToASL +aimedAtTarget +aimPos +airDensityCurveRTD +airDensityRTD +airplaneThrottle +airportSide +AISFinishHeal +alive +all3DENEntities +allAirports +allControls +allCurators +allCutLayers +allDead +allDeadMen +allDisplays +allGroups +allMapMarkers +allMines +allMissionObjects +allow3DMode +allowCrewInImmobile +allowCuratorLogicIgnoreAreas +allowDamage +allowDammage +allowFileOperations +allowFleeing +allowGetIn +allowSprint +allPlayers +allSimpleObjects +allSites +allTurrets +allUnits +allUnitsUAV +allVariables +ammo +ammoOnPylon +animate +animateBay +animateDoor +animatePylon +animateSource +animationNames +animationPhase +animationSourcePhase +animationState +append +apply +armoryPoints +arrayIntersect +asin +ASLToAGL +ASLToATL +assert +assignAsCargo +assignAsCargoIndex +assignAsCommander +assignAsDriver +assignAsGunner +assignAsTurret +assignCurator +assignedCargo +assignedCommander +assignedDriver +assignedGunner +assignedItems +assignedTarget +assignedTeam +assignedVehicle +assignedVehicleRole +assignItem +assignTeam +assignToAirport +atan +atan2 +atg +ATLToASL +attachedObject +attachedObjects +attachedTo +attachObject +attachTo +attackEnabled +backpack +backpackCargo +backpackContainer +backpackItems +backpackMagazines +backpackSpaceFor +behaviour +benchmark +binocular +blufor +boundingBox +boundingBoxReal +boundingCenter +briefingName +buildingExit +buildingPos +buldozer_EnableRoadDiag +buldozer_IsEnabledRoadDiag +buldozer_LoadNewRoads +buldozer_reloadOperMap +buttonAction +buttonSetAction +cadetMode +callExtension +camCommand +camCommit +camCommitPrepared +camCommitted +camConstuctionSetParams +camCreate +camDestroy +cameraEffect +cameraEffectEnableHUD +cameraInterest +cameraOn +cameraView +campaignConfigFile +camPreload +camPreloaded +camPrepareBank +camPrepareDir +camPrepareDive +camPrepareFocus +camPrepareFov +camPrepareFovRange +camPreparePos +camPrepareRelPos +camPrepareTarget +camSetBank +camSetDir +camSetDive +camSetFocus +camSetFov +camSetFovRange +camSetPos +camSetRelPos +camSetTarget +camTarget +camUseNVG +canAdd +canAddItemToBackpack +canAddItemToUniform +canAddItemToVest +cancelSimpleTaskDestination +canFire +canMove +canSlingLoad +canStand +canSuspend +canTriggerDynamicSimulation +canUnloadInCombat +canVehicleCargo +captive +captiveNum +cbChecked +cbSetChecked +ceil +channelEnabled +cheatsEnabled +checkAIFeature +checkVisibility +civilian +className +clear3DENAttribute +clear3DENInventory +clearAllItemsFromBackpack +clearBackpackCargo +clearBackpackCargoGlobal +clearForcesRTD +clearGroupIcons +clearItemCargo +clearItemCargoGlobal +clearItemPool +clearMagazineCargo +clearMagazineCargoGlobal +clearMagazinePool +clearOverlay +clearRadio +clearVehicleInit +clearWeaponCargo +clearWeaponCargoGlobal +clearWeaponPool +clientOwner +closeDialog +closeDisplay +closeOverlay +collapseObjectTree +collect3DENHistory +collectiveRTD +combatMode +commandArtilleryFire +commandChat +commander +commandFire +commandFollow +commandFSM +commandGetOut +commandingMenu +commandMove +commandRadio +commandStop +commandSuppressiveFire +commandTarget +commandWatch +comment +commitOverlay +compile +compileFinal +completedFSM +composeText +configClasses +configFile +configHierarchy +configName +configNull +configProperties +configSourceAddonList +configSourceMod +configSourceModList +confirmSensorTarget +connectTerminalToUAV +controlNull +controlsGroupCtrl +copyFromClipboard +copyToClipboard +copyWaypoints +cos +count +countEnemy +countFriendly +countSide +countType +countUnknown +create3DENComposition +create3DENEntity +createAgent +createCenter +createDialog +createDiaryLink +createDiaryRecord +createDiarySubject +createDisplay +createGearDialog +createGroup +createGuardedPoint +createLocation +createMarker +createMarkerLocal +createMenu +createMine +createMissionDisplay +createMPCampaignDisplay +createSimpleObject +createSimpleTask +createSite +createSoundSource +createTask +createTeam +createTrigger +createUnit +createVehicle +createVehicleCrew +createVehicleLocal +crew +ctAddHeader +ctAddRow +ctClear +ctCurSel +ctData +ctFindHeaderRows +ctFindRowHeader +ctHeaderControls +ctHeaderCount +ctRemoveHeaders +ctRemoveRows +ctrlActivate +ctrlAddEventHandler +ctrlAngle +ctrlAutoScrollDelay +ctrlAutoScrollRewind +ctrlAutoScrollSpeed +ctrlChecked +ctrlClassName +ctrlCommit +ctrlCommitted +ctrlCreate +ctrlDelete +ctrlEnable +ctrlEnabled +ctrlFade +ctrlHTMLLoaded +ctrlIDC +ctrlIDD +ctrlMapAnimAdd +ctrlMapAnimClear +ctrlMapAnimCommit +ctrlMapAnimDone +ctrlMapCursor +ctrlMapMouseOver +ctrlMapScale +ctrlMapScreenToWorld +ctrlMapWorldToScreen +ctrlModel +ctrlModelDirAndUp +ctrlModelScale +ctrlParent +ctrlParentControlsGroup +ctrlPosition +ctrlRemoveAllEventHandlers +ctrlRemoveEventHandler +ctrlScale +ctrlSetActiveColor +ctrlSetAngle +ctrlSetAutoScrollDelay +ctrlSetAutoScrollRewind +ctrlSetAutoScrollSpeed +ctrlSetBackgroundColor +ctrlSetChecked +ctrlSetDisabledColor +ctrlSetEventHandler +ctrlSetFade +ctrlSetFocus +ctrlSetFont +ctrlSetFontH1 +ctrlSetFontH1B +ctrlSetFontH2 +ctrlSetFontH2B +ctrlSetFontH3 +ctrlSetFontH3B +ctrlSetFontH4 +ctrlSetFontH4B +ctrlSetFontH5 +ctrlSetFontH5B +ctrlSetFontH6 +ctrlSetFontH6B +ctrlSetFontHeight +ctrlSetFontHeightH1 +ctrlSetFontHeightH2 +ctrlSetFontHeightH3 +ctrlSetFontHeightH4 +ctrlSetFontHeightH5 +ctrlSetFontHeightH6 +ctrlSetFontHeightSecondary +ctrlSetFontP +ctrlSetFontPB +ctrlSetFontSecondary +ctrlSetForegroundColor +ctrlSetModel +ctrlSetModelDirAndUp +ctrlSetModelScale +ctrlSetPixelPrecision +ctrlSetPosition +ctrlSetScale +ctrlSetStructuredText +ctrlSetText +ctrlSetTextColor +ctrlSetTextColorSecondary +ctrlSetTextSecondary +ctrlSetTooltip +ctrlSetTooltipColorBox +ctrlSetTooltipColorShade +ctrlSetTooltipColorText +ctrlShow +ctrlShown +ctrlText +ctrlTextHeight +ctrlTextSecondary +ctrlTextWidth +ctrlType +ctrlVisible +ctRowControls +ctRowCount +ctSetCurSel +ctSetData +ctSetHeaderTemplate +ctSetRowTemplate +ctSetValue +ctValue +curatorAddons +curatorCamera +curatorCameraArea +curatorCameraAreaCeiling +curatorCoef +curatorEditableObjects +curatorEditingArea +curatorEditingAreaType +curatorMouseOver +curatorPoints +curatorRegisteredObjects +curatorSelected +curatorWaypointCost +current3DENOperation +currentChannel +currentCommand +currentMagazine +currentMagazineDetail +currentMagazineDetailTurret +currentMagazineTurret +currentMuzzle +currentNamespace +currentTask +currentTasks +currentThrowable +currentVisionMode +currentWaypoint +currentWeapon +currentWeaponMode +currentWeaponTurret +currentZeroing +cursorObject +cursorTarget +customChat +customRadio +cutFadeOut +cutObj +cutRsc +cutText +damage +date +dateToNumber +daytime +deActivateKey +debriefingText +debugFSM +debugLog +deg +delete3DENEntities +deleteAt +deleteCenter +deleteCollection +deleteEditorObject +deleteGroup +deleteGroupWhenEmpty +deleteIdentity +deleteLocation +deleteMarker +deleteMarkerLocal +deleteRange +deleteResources +deleteSite +deleteStatus +deleteTeam +deleteVehicle +deleteVehicleCrew +deleteWaypoint +detach +detectedMines +diag_activeMissionFSMs +diag_activeScripts +diag_activeSQFScripts +diag_activeSQSScripts +diag_captureFrame +diag_captureFrameToFile +diag_captureSlowFrame +diag_codePerformance +diag_drawMode +diag_dynamicSimulationEnd +diag_enable +diag_enabled +diag_fps +diag_fpsMin +diag_frameNo +diag_lightNewLoad +diag_list +diag_log +diag_logSlowFrame +diag_mergeConfigFile +diag_recordTurretLimits +diag_setLightNew +diag_tickTime +diag_toggle +dialog +diarySubjectExists +didJIP +didJIPOwner +difficulty +difficultyEnabled +difficultyEnabledRTD +difficultyOption +direction +directSay +disableAI +disableCollisionWith +disableConversation +disableDebriefingStats +disableMapIndicators +disableNVGEquipment +disableRemoteSensors +disableSerialization +disableTIEquipment +disableUAVConnectability +disableUserInput +displayAddEventHandler +displayCtrl +displayNull +displayParent +displayRemoveAllEventHandlers +displayRemoveEventHandler +displaySetEventHandler +dissolveTeam +distance +distance2D +distanceSqr +distributionRegion +do3DENAction +doArtilleryFire +doFire +doFollow +doFSM +doGetOut +doMove +doorPhase +doStop +doSuppressiveFire +doTarget +doWatch +drawArrow +drawEllipse +drawIcon +drawIcon3D +drawLine +drawLine3D +drawLink +drawLocation +drawPolygon +drawRectangle +drawTriangle +driver +drop +dynamicSimulationDistance +dynamicSimulationDistanceCoef +dynamicSimulationEnabled +dynamicSimulationSystemEnabled +east +edit3DENMissionAttributes +editObject +editorSetEventHandler +effectiveCommander +emptyPositions +enableAI +enableAIFeature +enableAimPrecision +enableAttack +enableAudioFeature +enableAutoStartUpRTD +enableAutoTrimRTD +enableCamShake +enableCaustics +enableChannel +enableCollisionWith +enableCopilot +enableDebriefingStats +enableDiagLegend +enableDynamicSimulation +enableDynamicSimulationSystem +enableEndDialog +enableEngineArtillery +enableEnvironment +enableFatigue +enableGunLights +enableInfoPanelComponent +enableIRLasers +enableMimics +enablePersonTurret +enableRadio +enableReload +enableRopeAttach +enableSatNormalOnDetail +enableSaving +enableSentences +enableSimulation +enableSimulationGlobal +enableStamina +enableStressDamage +enableTeamSwitch +enableTraffic +enableUAVConnectability +enableUAVWaypoints +enableVehicleCargo +enableVehicleSensor +enableWeaponDisassembly +endl +endLoadingScreen +endMission +engineOn +enginesIsOnRTD +enginesPowerRTD +enginesRpmRTD +enginesTorqueRTD +entities +environmentEnabled +estimatedEndServerTime +estimatedTimeLeft +evalObjectArgument +everyBackpack +everyContainer +exec +execEditorScript +exp +expectedDestination +exportJIPMessages +eyeDirection +eyePos +face +faction +fadeMusic +fadeRadio +fadeSound +fadeSpeech +failMission +fillWeaponsFromPool +find +findCover +findDisplay +findEditorObject +findEmptyPosition +findEmptyPositionReady +findIf +findNearestEnemy +finishMissionInit +finite +fire +fireAtTarget +firstBackpack +flag +flagAnimationPhase +flagOwner +flagSide +flagTexture +fleeing +floor +flyInHeight +flyInHeightASL +fog +fogForecast +fogParams +forceAddUniform +forceAtPositionRTD +forcedMap +forceEnd +forceFlagTexture +forceFollowRoad +forceGeneratorRTD +forceMap +forceRespawn +forceSpeed +forceWalk +forceWeaponFire +forceWeatherChange +forgetTarget +format +formation +formationDirection +formationLeader +formationMembers +formationPosition +formationTask +formatText +formLeader +freeLook +fromEditor +fuel +fullCrew +gearIDCAmmoCount +gearSlotAmmoCount +gearSlotData +get3DENActionState +get3DENAttribute +get3DENCamera +get3DENConnections +get3DENEntity +get3DENEntityID +get3DENGrid +get3DENIconsVisible +get3DENLayerEntities +get3DENLinesVisible +get3DENMissionAttribute +get3DENMouseOver +get3DENSelected +getAimingCoef +getAllEnvSoundControllers +getAllHitPointsDamage +getAllOwnedMines +getAllSoundControllers +getAmmoCargo +getAnimAimPrecision +getAnimSpeedCoef +getArray +getArtilleryAmmo +getArtilleryComputerSettings +getArtilleryETA +getAssignedCuratorLogic +getAssignedCuratorUnit +getBackpackCargo +getBleedingRemaining +getBurningValue +getCameraViewDirection +getCargoIndex +getCenterOfMass +getClientState +getClientStateNumber +getCompatiblePylonMagazines +getConnectedUAV +getContainerMaxLoad +getCursorObjectParams +getCustomAimCoef +getDammage +getDescription +getDir +getDirVisual +getDLCAssetsUsage +getDLCAssetsUsageByName +getDLCs +getDLCUsageTime +getEditorCamera +getEditorMode +getEditorObjectScope +getElevationOffset +getEngineTargetRpmRTD +getEnvSoundController +getFatigue +getFieldManualStartPage +getForcedFlagTexture +getFriend +getFSMVariable +getFuelCargo +getGroupIcon +getGroupIconParams +getGroupIcons +getHideFrom +getHit +getHitIndex +getHitPointDamage +getItemCargo +getMagazineCargo +getMarkerColor +getMarkerPos +getMarkerSize +getMarkerType +getMass +getMissionConfig +getMissionConfigValue +getMissionDLCs +getMissionLayerEntities +getMissionLayers +getModelInfo +getMousePosition +getMusicPlayedTime +getNumber +getObjectArgument +getObjectChildren +getObjectDLC +getObjectMaterials +getObjectProxy +getObjectTextures +getObjectType +getObjectViewDistance +getOxygenRemaining +getPersonUsedDLCs +getPilotCameraDirection +getPilotCameraPosition +getPilotCameraRotation +getPilotCameraTarget +getPlateNumber +getPlayerChannel +getPlayerScores +getPlayerUID +getPlayerUIDOld +getPos +getPosASL +getPosASLVisual +getPosASLW +getPosATL +getPosATLVisual +getPosVisual +getPosWorld +getPylonMagazines +getRelDir +getRelPos +getRemoteSensorsDisabled +getRepairCargo +getResolution +getRotorBrakeRTD +getShadowDistance +getShotParents +getSlingLoad +getSoundController +getSoundControllerResult +getSpeed +getStamina +getStatValue +getSuppression +getTerrainGrid +getTerrainHeightASL +getText +getTotalDLCUsageTime +getTrimOffsetRTD +getUnitLoadout +getUnitTrait +getUserMFDText +getUserMFDValue +getVariable +getVehicleCargo +getWeaponCargo +getWeaponSway +getWingsOrientationRTD +getWingsPositionRTD +getWPPos +glanceAt +globalChat +globalRadio +goggles +group +groupChat +groupFromNetId +groupIconSelectable +groupIconsVisible +groupId +groupOwner +groupRadio +groupSelectedUnits +groupSelectUnit +grpNull +gunner +gusts +halt +handgunItems +handgunMagazine +handgunWeapon +handsHit +hasInterface +hasPilotCamera +hasWeapon +hcAllGroups +hcGroupParams +hcLeader +hcRemoveAllGroups +hcRemoveGroup +hcSelected +hcSelectGroup +hcSetGroup +hcShowBar +hcShownBar +headgear +hideBody +hideObject +hideObjectGlobal +hideSelection +hint +hintC +hintCadet +hintSilent +hmd +hostMission +htmlLoad +HUDMovementLevels +humidity +image +importAllGroups +importance +in +inArea +inAreaArray +incapacitatedState +independent +inflame +inflamed +infoPanel +infoPanelComponentEnabled +infoPanelComponents +infoPanels +inGameUISetEventHandler +inheritsFrom +initAmbientLife +inPolygon +inputAction +inRangeOfArtillery +insertEditorObject +intersect +is3DEN +is3DENMultiplayer +isAbleToBreathe +isAgent +isAimPrecisionEnabled +isArray +isAutoHoverOn +isAutonomous +isAutoStartUpEnabledRTD +isAutotest +isAutoTrimOnRTD +isBleeding +isBurning +isClass +isCollisionLightOn +isCopilotEnabled +isDamageAllowed +isDedicated +isDLCAvailable +isEngineOn +isEqualTo +isEqualType +isEqualTypeAll +isEqualTypeAny +isEqualTypeArray +isEqualTypeParams +isFilePatchingEnabled +isFlashlightOn +isFlatEmpty +isForcedWalk +isFormationLeader +isGroupDeletedWhenEmpty +isHidden +isInRemainsCollector +isInstructorFigureEnabled +isIRLaserOn +isKeyActive +isKindOf +isLaserOn +isLightOn +isLocalized +isManualFire +isMarkedForCollection +isMultiplayer +isMultiplayerSolo +isNil +isNull +isNumber +isObjectHidden +isObjectRTD +isOnRoad +isPipEnabled +isPlayer +isRealTime +isRemoteExecuted +isRemoteExecutedJIP +isServer +isShowing3DIcons +isSimpleObject +isSprintAllowed +isStaminaEnabled +isSteamMission +isStreamFriendlyUIEnabled +isStressDamageEnabled +isText +isTouchingGround +isTurnedOut +isTutHintsEnabled +isUAVConnectable +isUAVConnected +isUIContext +isUniformAllowed +isVehicleCargo +isVehicleRadarOn +isVehicleSensorEnabled +isWalking +isWeaponDeployed +isWeaponRested +itemCargo +items +itemsWithMagazines +join +joinAs +joinAsSilent +joinSilent +joinString +kbAddDatabase +kbAddDatabaseTargets +kbAddTopic +kbHasTopic +kbReact +kbRemoveTopic +kbTell +kbWasSaid +keyImage +keyName +knowsAbout +land +landAt +landResult +language +laserTarget +lbAdd +lbClear +lbColor +lbColorRight +lbCurSel +lbData +lbDelete +lbIsSelected +lbPicture +lbPictureRight +lbSelection +lbSetColor +lbSetColorRight +lbSetCurSel +lbSetData +lbSetPicture +lbSetPictureColor +lbSetPictureColorDisabled +lbSetPictureColorSelected +lbSetPictureRight +lbSetPictureRightColor +lbSetPictureRightColorDisabled +lbSetPictureRightColorSelected +lbSetSelectColor +lbSetSelectColorRight +lbSetSelected +lbSetText +lbSetTextRight +lbSetTooltip +lbSetValue +lbSize +lbSort +lbSortByValue +lbText +lbTextRight +lbValue +leader +leaderboardDeInit +leaderboardGetRows +leaderboardInit +leaderboardRequestRowsFriends +leaderboardRequestRowsGlobal +leaderboardRequestRowsGlobalAroundUser +leaderboardsRequestUploadScore +leaderboardsRequestUploadScoreKeepBest +leaderboardState +leaveVehicle +libraryCredits +libraryDisclaimers +lifeState +lightAttachObject +lightDetachObject +lightIsOn +lightnings +limitSpeed +linearConversion +lineBreak +lineIntersects +lineIntersectsObjs +lineIntersectsSurfaces +lineIntersectsWith +linkItem +list +listObjects +listRemoteTargets +listVehicleSensors +ln +lnbAddArray +lnbAddColumn +lnbAddRow +lnbClear +lnbColor +lnbColorRight +lnbCurSelRow +lnbData +lnbDeleteColumn +lnbDeleteRow +lnbGetColumnsPosition +lnbPicture +lnbPictureRight +lnbSetColor +lnbSetColorRight +lnbSetColumnsPos +lnbSetCurSelRow +lnbSetData +lnbSetPicture +lnbSetPictureColor +lnbSetPictureColorRight +lnbSetPictureColorSelected +lnbSetPictureColorSelectedRight +lnbSetPictureRight +lnbSetText +lnbSetTextRight +lnbSetValue +lnbSize +lnbSort +lnbSortByValue +lnbText +lnbTextRight +lnbValue +load +loadAbs +loadBackpack +loadFile +loadGame +loadIdentity +loadMagazine +loadOverlay +loadStatus +loadUniform +loadVest +local +localize +locationNull +locationPosition +lock +lockCameraTo +lockCargo +lockDriver +locked +lockedCargo +lockedDriver +lockedTurret +lockIdentity +lockTurret +lockWP +log +logEntities +logNetwork +logNetworkTerminate +lookAt +lookAtPos +magazineCargo +magazines +magazinesAllTurrets +magazinesAmmo +magazinesAmmoCargo +magazinesAmmoFull +magazinesDetail +magazinesDetailBackpack +magazinesDetailUniform +magazinesDetailVest +magazinesTurret +magazineTurretAmmo +mapAnimAdd +mapAnimClear +mapAnimCommit +mapAnimDone +mapCenterOnCamera +mapGridPosition +markAsFinishedOnSteam +markerAlpha +markerBrush +markerColor +markerDir +markerPos +markerShape +markerSize +markerText +markerType +max +members +menuAction +menuAdd +menuChecked +menuClear +menuCollapse +menuData +menuDelete +menuEnable +menuEnabled +menuExpand +menuHover +menuPicture +menuSetAction +menuSetCheck +menuSetData +menuSetPicture +menuSetValue +menuShortcut +menuShortcutText +menuSize +menuSort +menuText +menuURL +menuValue +min +mineActive +mineDetectedBy +missionConfigFile +missionDifficulty +missionName +missionNamespace +missionStart +missionVersion +modelToWorld +modelToWorldVisual +modelToWorldVisualWorld +modelToWorldWorld +modParams +moonIntensity +moonPhase +morale +move +move3DENCamera +moveInAny +moveInCargo +moveInCommander +moveInDriver +moveInGunner +moveInTurret +moveObjectToEnd +moveOut +moveTime +moveTo +moveToCompleted +moveToFailed +musicVolume +name +nameSound +nearEntities +nearestBuilding +nearestLocation +nearestLocations +nearestLocationWithDubbing +nearestObject +nearestObjects +nearestTerrainObjects +nearObjects +nearObjectsReady +nearRoads +nearSupplies +nearTargets +needReload +netId +netObjNull +newOverlay +nextMenuItemIndex +nextWeatherChange +nMenuItems +numberOfEnginesRTD +numberToDate +objectCurators +objectFromNetId +objectParent +objNull +objStatus +onBriefingGear +onBriefingGroup +onBriefingNotes +onBriefingPlan +onBriefingTeamSwitch +onCommandModeChanged +onDoubleClick +onEachFrame +onGroupIconClick +onGroupIconOverEnter +onGroupIconOverLeave +onHCGroupSelectionChanged +onMapSingleClick +onPlayerConnected +onPlayerDisconnected +onPreloadFinished +onPreloadStarted +onShowNewObject +onTeamSwitch +openCuratorInterface +openDLCPage +openDSInterface +openMap +openSteamApp +openYoutubeVideo +opfor +orderGetIn +overcast +overcastForecast +owner +param +params +parseNumber +parseSimpleArray +parseText +parsingNamespace +particlesQuality +pi +pickWeaponPool +pitch +pixelGrid +pixelGridBase +pixelGridNoUIScale +pixelH +pixelW +playableSlotsNumber +playableUnits +playAction +playActionNow +player +playerRespawnTime +playerSide +playersNumber +playGesture +playMission +playMove +playMoveNow +playMusic +playScriptedMission +playSound +playSound3D +position +positionCameraToWorld +posScreenToWorld +posWorldToScreen +ppEffectAdjust +ppEffectCommit +ppEffectCommitted +ppEffectCreate +ppEffectDestroy +ppEffectEnable +ppEffectEnabled +ppEffectForceInNVG +precision +preloadCamera +preloadObject +preloadSound +preloadTitleObj +preloadTitleRsc +primaryWeapon +primaryWeaponItems +primaryWeaponMagazine +priority +processDiaryLink +processInitCommands +productVersion +profileName +profileNamespace +profileNameSteam +progressLoadingScreen +progressPosition +progressSetPosition +publicVariable +publicVariableClient +publicVariableServer +pushBack +pushBackUnique +putWeaponPool +queryItemsPool +queryMagazinePool +queryWeaponPool +rad +radioChannelAdd +radioChannelCreate +radioChannelRemove +radioChannelSetCallSign +radioChannelSetLabel +radioVolume +rain +rainbow +random +rank +rankId +rating +rectangular +registeredTasks +registerTask +reload +reloadEnabled +remoteControl +remoteExec +remoteExecCall +remoteExecutedOwner +remove3DENConnection +remove3DENEventHandler +remove3DENLayer +removeAction +removeAll3DENEventHandlers +removeAllActions +removeAllAssignedItems +removeAllContainers +removeAllCuratorAddons +removeAllCuratorCameraAreas +removeAllCuratorEditingAreas +removeAllEventHandlers +removeAllHandgunItems +removeAllItems +removeAllItemsWithMagazines +removeAllMissionEventHandlers +removeAllMPEventHandlers +removeAllMusicEventHandlers +removeAllOwnedMines +removeAllPrimaryWeaponItems +removeAllWeapons +removeBackpack +removeBackpackGlobal +removeCuratorAddons +removeCuratorCameraArea +removeCuratorEditableObjects +removeCuratorEditingArea +removeDrawIcon +removeDrawLinks +removeEventHandler +removeFromRemainsCollector +removeGoggles +removeGroupIcon +removeHandgunItem +removeHeadgear +removeItem +removeItemFromBackpack +removeItemFromUniform +removeItemFromVest +removeItems +removeMagazine +removeMagazineGlobal +removeMagazines +removeMagazinesTurret +removeMagazineTurret +removeMenuItem +removeMissionEventHandler +removeMPEventHandler +removeMusicEventHandler +removeOwnedMine +removePrimaryWeaponItem +removeSecondaryWeaponItem +removeSimpleTask +removeSwitchableUnit +removeTeamMember +removeUniform +removeVest +removeWeapon +removeWeaponAttachmentCargo +removeWeaponCargo +removeWeaponGlobal +removeWeaponTurret +reportRemoteTarget +requiredVersion +resetCamShake +resetSubgroupDirection +resistance +resize +resources +respawnVehicle +restartEditorCamera +reveal +revealMine +reverse +reversedMouseY +roadAt +roadsConnectedTo +roleDescription +ropeAttachedObjects +ropeAttachedTo +ropeAttachEnabled +ropeAttachTo +ropeCreate +ropeCut +ropeDestroy +ropeDetach +ropeEndPosition +ropeLength +ropes +ropeUnwind +ropeUnwound +rotorsForcesRTD +rotorsRpmRTD +round +runInitScript +safeZoneH +safeZoneW +safeZoneWAbs +safeZoneX +safeZoneXAbs +safeZoneY +save3DENInventory +saveGame +saveIdentity +saveJoysticks +saveOverlay +saveProfileNamespace +saveStatus +saveVar +savingEnabled +say +say2D +say3D +score +scoreSide +screenshot +screenToWorld +scriptDone +scriptName +scriptNull +scudState +secondaryWeapon +secondaryWeaponItems +secondaryWeaponMagazine +select +selectBestPlaces +selectDiarySubject +selectedEditorObjects +selectEditorObject +selectionNames +selectionPosition +selectLeader +selectMax +selectMin +selectNoPlayer +selectPlayer +selectRandom +selectRandomWeighted +selectWeapon +selectWeaponTurret +sendAUMessage +sendSimpleCommand +sendTask +sendTaskResult +sendUDPMessage +serverCommand +serverCommandAvailable +serverCommandExecutable +serverName +serverTime +set +set3DENAttribute +set3DENAttributes +set3DENGrid +set3DENIconsVisible +set3DENLayer +set3DENLinesVisible +set3DENLogicType +set3DENMissionAttribute +set3DENMissionAttributes +set3DENModelsVisible +set3DENObjectType +set3DENSelected +setAccTime +setActualCollectiveRTD +setAirplaneThrottle +setAirportSide +setAmmo +setAmmoCargo +setAmmoOnPylon +setAnimSpeedCoef +setAperture +setApertureNew +setArmoryPoints +setAttributes +setAutonomous +setBehaviour +setBleedingRemaining +setBrakesRTD +setCameraInterest +setCamShakeDefParams +setCamShakeParams +setCamUseTI +setCaptive +setCenterOfMass +setCollisionLight +setCombatMode +setCompassOscillation +setConvoySeparation +setCuratorCameraAreaCeiling +setCuratorCoef +setCuratorEditingAreaType +setCuratorWaypointCost +setCurrentChannel +setCurrentTask +setCurrentWaypoint +setCustomAimCoef +setCustomWeightRTD +setDamage +setDammage +setDate +setDebriefingText +setDefaultCamera +setDestination +setDetailMapBlendPars +setDir +setDirection +setDrawIcon +setDriveOnPath +setDropInterval +setDynamicSimulationDistance +setDynamicSimulationDistanceCoef +setEditorMode +setEditorObjectScope +setEffectCondition +setEngineRpmRTD +setFace +setFaceAnimation +setFatigue +setFeatureType +setFlagAnimationPhase +setFlagOwner +setFlagSide +setFlagTexture +setFog +setForceGeneratorRTD +setFormation +setFormationTask +setFormDir +setFriend +setFromEditor +setFSMVariable +setFuel +setFuelCargo +setGroupIcon +setGroupIconParams +setGroupIconsSelectable +setGroupIconsVisible +setGroupId +setGroupIdGlobal +setGroupOwner +setGusts +setHideBehind +setHit +setHitIndex +setHitPointDamage +setHorizonParallaxCoef +setHUDMovementLevels +setIdentity +setImportance +setInfoPanel +setLeader +setLightAmbient +setLightAttenuation +setLightBrightness +setLightColor +setLightDayLight +setLightFlareMaxDistance +setLightFlareSize +setLightIntensity +setLightnings +setLightUseFlare +setLocalWindParams +setMagazineTurretAmmo +setMarkerAlpha +setMarkerAlphaLocal +setMarkerBrush +setMarkerBrushLocal +setMarkerColor +setMarkerColorLocal +setMarkerDir +setMarkerDirLocal +setMarkerPos +setMarkerPosLocal +setMarkerShape +setMarkerShapeLocal +setMarkerSize +setMarkerSizeLocal +setMarkerText +setMarkerTextLocal +setMarkerType +setMarkerTypeLocal +setMass +setMimic +setMousePosition +setMusicEffect +setMusicEventHandler +setName +setNameSound +setObjectArguments +setObjectMaterial +setObjectMaterialGlobal +setObjectProxy +setObjectTexture +setObjectTextureGlobal +setObjectViewDistance +setOvercast +setOwner +setOxygenRemaining +setParticleCircle +setParticleClass +setParticleFire +setParticleParams +setParticleRandom +setPilotCameraDirection +setPilotCameraRotation +setPilotCameraTarget +setPilotLight +setPiPEffect +setPitch +setPlateNumber +setPlayable +setPlayerRespawnTime +setPos +setPosASL +setPosASL2 +setPosASLW +setPosATL +setPosition +setPosWorld +setPylonLoadOut +setPylonsPriority +setRadioMsg +setRain +setRainbow +setRandomLip +setRank +setRectangular +setRepairCargo +setRotorBrakeRTD +setShadowDistance +setShotParents +setSide +setSimpleTaskAlwaysVisible +setSimpleTaskCustomData +setSimpleTaskDescription +setSimpleTaskDestination +setSimpleTaskTarget +setSimpleTaskType +setSimulWeatherLayers +setSize +setSkill +setSlingLoad +setSoundEffect +setSpeaker +setSpeech +setSpeedMode +setStamina +setStaminaScheme +setStatValue +setSuppression +setSystemOfUnits +setTargetAge +setTaskMarkerOffset +setTaskResult +setTaskState +setTerrainGrid +setText +setTimeMultiplier +setTitleEffect +setToneMapping +setToneMappingParams +setTrafficDensity +setTrafficDistance +setTrafficGap +setTrafficSpeed +setTriggerActivation +setTriggerArea +setTriggerStatements +setTriggerText +setTriggerTimeout +setTriggerType +setType +setUnconscious +setUnitAbility +setUnitLoadout +setUnitPos +setUnitPosWeak +setUnitRank +setUnitRecoilCoefficient +setUnitTrait +setUnloadInCombat +setUserActionText +setUserMFDText +setUserMFDValue +setVariable +setVectorDir +setVectorDirAndUp +setVectorUp +setVehicleAmmo +setVehicleAmmoDef +setVehicleArmor +setVehicleCargo +setVehicleId +setVehicleInit +setVehicleLock +setVehiclePosition +setVehicleRadar +setVehicleReceiveRemoteTargets +setVehicleReportOwnPosition +setVehicleReportRemoteTargets +setVehicleTIPars +setVehicleVarName +setVelocity +setVelocityModelSpace +setVelocityTransformation +setViewDistance +setVisibleIfTreeCollapsed +setWantedRpmRTD +setWaves +setWaypointBehaviour +setWaypointCombatMode +setWaypointCompletionRadius +setWaypointDescription +setWaypointForceBehaviour +setWaypointFormation +setWaypointHousePosition +setWaypointLoiterRadius +setWaypointLoiterType +setWaypointName +setWaypointPosition +setWaypointScript +setWaypointSpeed +setWaypointStatements +setWaypointTimeout +setWaypointType +setWaypointVisible +setWeaponReloadingTime +setWind +setWindDir +setWindForce +setWindStr +setWingForceScaleRTD +setWPPos +show3DIcons +showChat +showCinemaBorder +showCommandingMenu +showCompass +showCuratorCompass +showGPS +showHUD +showLegend +showMap +shownArtilleryComputer +shownChat +shownCompass +shownCuratorCompass +showNewEditorObject +shownGPS +shownHUD +shownMap +shownPad +shownRadio +shownScoretable +shownUAVFeed +shownWarrant +shownWatch +showPad +showRadio +showScoretable +showSubtitles +showUAVFeed +showWarrant +showWatch +showWaypoint +showWaypoints +side +sideAmbientLife +sideChat +sideEmpty +sideEnemy +sideFriendly +sideLogic +sideRadio +sideUnknown +simpleTasks +simulationEnabled +simulCloudDensity +simulCloudOcclusion +simulInClouds +simulWeatherSync +sin +size +sizeOf +skill +skillFinal +skipTime +sleep +sliderPosition +sliderRange +sliderSetPosition +sliderSetRange +sliderSetSpeed +sliderSpeed +slingLoadAssistantShown +soldierMagazines +someAmmo +sort +soundVolume +speaker +speed +speedMode +splitString +sqrt +squadParams +stance +startLoadingScreen +stop +stopEngineRTD +stopped +str +sunOrMoon +supportInfo +suppressFor +surfaceIsWater +surfaceNormal +surfaceType +swimInDepth +switchableUnits +switchAction +switchCamera +switchGesture +switchLight +switchMove +synchronizedObjects +synchronizedTriggers +synchronizedWaypoints +synchronizeObjectsAdd +synchronizeObjectsRemove +synchronizeTrigger +synchronizeWaypoint +systemChat +systemOfUnits +tan +targetKnowledge +targets +targetsAggregate +targetsQuery +taskAlwaysVisible +taskChildren +taskCompleted +taskCustomData +taskDescription +taskDestination +taskHint +taskMarkerOffset +taskNull +taskParent +taskResult +taskState +taskType +teamMember +teamMemberNull +teamName +teams +teamSwitch +teamSwitchEnabled +teamType +terminate +terrainIntersect +terrainIntersectASL +terrainIntersectAtASL +text +textLog +textLogFormat +tg +time +timeMultiplier +titleCut +titleFadeOut +titleObj +titleRsc +titleText +toArray +toFixed +toLower +toString +toUpper +triggerActivated +triggerActivation +triggerArea +triggerAttachedVehicle +triggerAttachObject +triggerAttachVehicle +triggerDynamicSimulation +triggerStatements +triggerText +triggerTimeout +triggerTimeoutCurrent +triggerType +turretLocal +turretOwner +turretUnit +tvAdd +tvClear +tvCollapse +tvCollapseAll +tvCount +tvCurSel +tvData +tvDelete +tvExpand +tvExpandAll +tvPicture +tvPictureRight +tvSetColor +tvSetCurSel +tvSetData +tvSetPicture +tvSetPictureColor +tvSetPictureColorDisabled +tvSetPictureColorSelected +tvSetPictureRight +tvSetPictureRightColor +tvSetPictureRightColorDisabled +tvSetPictureRightColorSelected +tvSetSelectColor +tvSetText +tvSetTooltip +tvSetValue +tvSort +tvSortByValue +tvText +tvTooltip +tvValue +type +typeName +typeOf +UAVControl +uiNamespace +uiSleep +unassignCurator +unassignItem +unassignTeam +unassignVehicle +underwater +uniform +uniformContainer +uniformItems +uniformMagazines +unitAddons +unitAimPosition +unitAimPositionVisual +unitBackpack +unitIsUAV +unitPos +unitReady +unitRecoilCoefficient +units +unitsBelowHeight +unlinkItem +unlockAchievement +unregisterTask +updateDrawIcon +updateMenuItem +updateObjectTree +useAIOperMapObstructionTest +useAISteeringComponent +useAudioTimeForMoves +userInputDisabled +vectorAdd +vectorCos +vectorCrossProduct +vectorDiff +vectorDir +vectorDirVisual +vectorDistance +vectorDistanceSqr +vectorDotProduct +vectorFromTo +vectorMagnitude +vectorMagnitudeSqr +vectorModelToWorld +vectorModelToWorldVisual +vectorMultiply +vectorNormalized +vectorUp +vectorUpVisual +vectorWorldToModel +vectorWorldToModelVisual +vehicle +vehicleCargoEnabled +vehicleChat +vehicleRadio +vehicleReceiveRemoteTargets +vehicleReportOwnPosition +vehicleReportRemoteTargets +vehicles +vehicleVarName +velocity +velocityModelSpace +verifySignature +vest +vestContainer +vestItems +vestMagazines +viewDistance +visibleCompass +visibleGPS +visibleMap +visiblePosition +visiblePositionASL +visibleScoretable +visibleWatch +waitUntil +waves +waypointAttachedObject +waypointAttachedVehicle +waypointAttachObject +waypointAttachVehicle +waypointBehaviour +waypointCombatMode +waypointCompletionRadius +waypointDescription +waypointForceBehaviour +waypointFormation +waypointHousePosition +waypointLoiterRadius +waypointLoiterType +waypointName +waypointPosition +waypoints +waypointScript +waypointsEnabledUAV +waypointShow +waypointSpeed +waypointStatements +waypointTimeout +waypointTimeoutCurrent +waypointType +waypointVisible +weaponAccessories +weaponAccessoriesCargo +weaponCargo +weaponDirection +weaponInertia +weaponLowered +weapons +weaponsItems +weaponsItemsCargo +weaponState +weaponsTurret +weightRTD +west +WFSideText +wind +windDir +windRTD +windStr +wingsForcesRTD +worldName +worldSize +worldToModel +worldToModelVisual +worldToScreen + +---------------------------------------------------- + +[ + ["function", "abs"], + ["function", "accTime"], + ["function", "acos"], + ["function", "action"], + ["function", "actionIDs"], + ["function", "actionKeys"], + ["function", "actionKeysImages"], + ["function", "actionKeysNames"], + ["function", "actionKeysNamesArray"], + ["function", "actionName"], + ["function", "actionParams"], + ["function", "activateAddons"], + ["function", "activatedAddons"], + ["function", "activateKey"], + ["function", "add3DENConnection"], + ["function", "add3DENEventHandler"], + ["function", "add3DENLayer"], + ["function", "addAction"], + ["function", "addBackpack"], + ["function", "addBackpackCargo"], + ["function", "addBackpackCargoGlobal"], + ["function", "addBackpackGlobal"], + ["function", "addCamShake"], + ["function", "addCuratorAddons"], + ["function", "addCuratorCameraArea"], + ["function", "addCuratorEditableObjects"], + ["function", "addCuratorEditingArea"], + ["function", "addCuratorPoints"], + ["function", "addEditorObject"], + ["function", "addEventHandler"], + ["function", "addForce"], + ["function", "addForceGeneratorRTD"], + ["function", "addGoggles"], + ["function", "addGroupIcon"], + ["function", "addHandgunItem"], + ["function", "addHeadgear"], + ["function", "addItem"], + ["function", "addItemCargo"], + ["function", "addItemCargoGlobal"], + ["function", "addItemPool"], + ["function", "addItemToBackpack"], + ["function", "addItemToUniform"], + ["function", "addItemToVest"], + ["function", "addLiveStats"], + ["function", "addMagazine"], + ["function", "addMagazineAmmoCargo"], + ["function", "addMagazineCargo"], + ["function", "addMagazineCargoGlobal"], + ["function", "addMagazineGlobal"], + ["function", "addMagazinePool"], + ["function", "addMagazines"], + ["function", "addMagazineTurret"], + ["function", "addMenu"], + ["function", "addMenuItem"], + ["function", "addMissionEventHandler"], + ["function", "addMPEventHandler"], + ["function", "addMusicEventHandler"], + ["function", "addOwnedMine"], + ["function", "addPlayerScores"], + ["function", "addPrimaryWeaponItem"], + ["function", "addPublicVariableEventHandler"], + ["function", "addRating"], + ["function", "addResources"], + ["function", "addScore"], + ["function", "addScoreSide"], + ["function", "addSecondaryWeaponItem"], + ["function", "addSwitchableUnit"], + ["function", "addTeamMember"], + ["function", "addToRemainsCollector"], + ["function", "addTorque"], + ["function", "addUniform"], + ["function", "addVehicle"], + ["function", "addVest"], + ["function", "addWaypoint"], + ["function", "addWeapon"], + ["function", "addWeaponCargo"], + ["function", "addWeaponCargoGlobal"], + ["function", "addWeaponGlobal"], + ["function", "addWeaponItem"], + ["function", "addWeaponPool"], + ["function", "addWeaponTurret"], + ["function", "admin"], + ["function", "agent"], + ["function", "agents"], + ["function", "AGLToASL"], + ["function", "aimedAtTarget"], + ["function", "aimPos"], + ["function", "airDensityCurveRTD"], + ["function", "airDensityRTD"], + ["function", "airplaneThrottle"], + ["function", "airportSide"], + ["function", "AISFinishHeal"], + ["function", "alive"], + ["function", "all3DENEntities"], + ["function", "allAirports"], + ["function", "allControls"], + ["function", "allCurators"], + ["function", "allCutLayers"], + ["function", "allDead"], + ["function", "allDeadMen"], + ["function", "allDisplays"], + ["function", "allGroups"], + ["function", "allMapMarkers"], + ["function", "allMines"], + ["function", "allMissionObjects"], + ["function", "allow3DMode"], + ["function", "allowCrewInImmobile"], + ["function", "allowCuratorLogicIgnoreAreas"], + ["function", "allowDamage"], + ["function", "allowDammage"], + ["function", "allowFileOperations"], + ["function", "allowFleeing"], + ["function", "allowGetIn"], + ["function", "allowSprint"], + ["function", "allPlayers"], + ["function", "allSimpleObjects"], + ["function", "allSites"], + ["function", "allTurrets"], + ["function", "allUnits"], + ["function", "allUnitsUAV"], + ["function", "allVariables"], + ["function", "ammo"], + ["function", "ammoOnPylon"], + ["function", "animate"], + ["function", "animateBay"], + ["function", "animateDoor"], + ["function", "animatePylon"], + ["function", "animateSource"], + ["function", "animationNames"], + ["function", "animationPhase"], + ["function", "animationSourcePhase"], + ["function", "animationState"], + ["function", "append"], + ["function", "apply"], + ["function", "armoryPoints"], + ["function", "arrayIntersect"], + ["function", "asin"], + ["function", "ASLToAGL"], + ["function", "ASLToATL"], + ["function", "assert"], + ["function", "assignAsCargo"], + ["function", "assignAsCargoIndex"], + ["function", "assignAsCommander"], + ["function", "assignAsDriver"], + ["function", "assignAsGunner"], + ["function", "assignAsTurret"], + ["function", "assignCurator"], + ["function", "assignedCargo"], + ["function", "assignedCommander"], + ["function", "assignedDriver"], + ["function", "assignedGunner"], + ["function", "assignedItems"], + ["function", "assignedTarget"], + ["function", "assignedTeam"], + ["function", "assignedVehicle"], + ["function", "assignedVehicleRole"], + ["function", "assignItem"], + ["function", "assignTeam"], + ["function", "assignToAirport"], + ["function", "atan"], + ["function", "atan2"], + ["function", "atg"], + ["function", "ATLToASL"], + ["function", "attachedObject"], + ["function", "attachedObjects"], + ["function", "attachedTo"], + ["function", "attachObject"], + ["function", "attachTo"], + ["function", "attackEnabled"], + ["function", "backpack"], + ["function", "backpackCargo"], + ["function", "backpackContainer"], + ["function", "backpackItems"], + ["function", "backpackMagazines"], + ["function", "backpackSpaceFor"], + ["function", "behaviour"], + ["function", "benchmark"], + ["function", "binocular"], + ["function", "blufor"], + ["function", "boundingBox"], + ["function", "boundingBoxReal"], + ["function", "boundingCenter"], + ["function", "briefingName"], + ["function", "buildingExit"], + ["function", "buildingPos"], + ["function", "buldozer_EnableRoadDiag"], + ["function", "buldozer_IsEnabledRoadDiag"], + ["function", "buldozer_LoadNewRoads"], + ["function", "buldozer_reloadOperMap"], + ["function", "buttonAction"], + ["function", "buttonSetAction"], + ["function", "cadetMode"], + ["function", "callExtension"], + ["function", "camCommand"], + ["function", "camCommit"], + ["function", "camCommitPrepared"], + ["function", "camCommitted"], + ["function", "camConstuctionSetParams"], + ["function", "camCreate"], + ["function", "camDestroy"], + ["function", "cameraEffect"], + ["function", "cameraEffectEnableHUD"], + ["function", "cameraInterest"], + ["function", "cameraOn"], + ["function", "cameraView"], + ["function", "campaignConfigFile"], + ["function", "camPreload"], + ["function", "camPreloaded"], + ["function", "camPrepareBank"], + ["function", "camPrepareDir"], + ["function", "camPrepareDive"], + ["function", "camPrepareFocus"], + ["function", "camPrepareFov"], + ["function", "camPrepareFovRange"], + ["function", "camPreparePos"], + ["function", "camPrepareRelPos"], + ["function", "camPrepareTarget"], + ["function", "camSetBank"], + ["function", "camSetDir"], + ["function", "camSetDive"], + ["function", "camSetFocus"], + ["function", "camSetFov"], + ["function", "camSetFovRange"], + ["function", "camSetPos"], + ["function", "camSetRelPos"], + ["function", "camSetTarget"], + ["function", "camTarget"], + ["function", "camUseNVG"], + ["function", "canAdd"], + ["function", "canAddItemToBackpack"], + ["function", "canAddItemToUniform"], + ["function", "canAddItemToVest"], + ["function", "cancelSimpleTaskDestination"], + ["function", "canFire"], + ["function", "canMove"], + ["function", "canSlingLoad"], + ["function", "canStand"], + ["function", "canSuspend"], + ["function", "canTriggerDynamicSimulation"], + ["function", "canUnloadInCombat"], + ["function", "canVehicleCargo"], + ["function", "captive"], + ["function", "captiveNum"], + ["function", "cbChecked"], + ["function", "cbSetChecked"], + ["function", "ceil"], + ["function", "channelEnabled"], + ["function", "cheatsEnabled"], + ["function", "checkAIFeature"], + ["function", "checkVisibility"], + ["function", "civilian"], + ["function", "className"], + ["function", "clear3DENAttribute"], + ["function", "clear3DENInventory"], + ["function", "clearAllItemsFromBackpack"], + ["function", "clearBackpackCargo"], + ["function", "clearBackpackCargoGlobal"], + ["function", "clearForcesRTD"], + ["function", "clearGroupIcons"], + ["function", "clearItemCargo"], + ["function", "clearItemCargoGlobal"], + ["function", "clearItemPool"], + ["function", "clearMagazineCargo"], + ["function", "clearMagazineCargoGlobal"], + ["function", "clearMagazinePool"], + ["function", "clearOverlay"], + ["function", "clearRadio"], + ["function", "clearVehicleInit"], + ["function", "clearWeaponCargo"], + ["function", "clearWeaponCargoGlobal"], + ["function", "clearWeaponPool"], + ["function", "clientOwner"], + ["function", "closeDialog"], + ["function", "closeDisplay"], + ["function", "closeOverlay"], + ["function", "collapseObjectTree"], + ["function", "collect3DENHistory"], + ["function", "collectiveRTD"], + ["function", "combatMode"], + ["function", "commandArtilleryFire"], + ["function", "commandChat"], + ["function", "commander"], + ["function", "commandFire"], + ["function", "commandFollow"], + ["function", "commandFSM"], + ["function", "commandGetOut"], + ["function", "commandingMenu"], + ["function", "commandMove"], + ["function", "commandRadio"], + ["function", "commandStop"], + ["function", "commandSuppressiveFire"], + ["function", "commandTarget"], + ["function", "commandWatch"], + ["function", "comment"], + ["function", "commitOverlay"], + ["function", "compile"], + ["function", "compileFinal"], + ["function", "completedFSM"], + ["function", "composeText"], + ["function", "configClasses"], + ["function", "configFile"], + ["function", "configHierarchy"], + ["function", "configName"], + ["function", "configNull"], + ["function", "configProperties"], + ["function", "configSourceAddonList"], + ["function", "configSourceMod"], + ["function", "configSourceModList"], + ["function", "confirmSensorTarget"], + ["function", "connectTerminalToUAV"], + ["function", "controlNull"], + ["function", "controlsGroupCtrl"], + ["function", "copyFromClipboard"], + ["function", "copyToClipboard"], + ["function", "copyWaypoints"], + ["function", "cos"], + ["function", "count"], + ["function", "countEnemy"], + ["function", "countFriendly"], + ["function", "countSide"], + ["function", "countType"], + ["function", "countUnknown"], + ["function", "create3DENComposition"], + ["function", "create3DENEntity"], + ["function", "createAgent"], + ["function", "createCenter"], + ["function", "createDialog"], + ["function", "createDiaryLink"], + ["function", "createDiaryRecord"], + ["function", "createDiarySubject"], + ["function", "createDisplay"], + ["function", "createGearDialog"], + ["function", "createGroup"], + ["function", "createGuardedPoint"], + ["function", "createLocation"], + ["function", "createMarker"], + ["function", "createMarkerLocal"], + ["function", "createMenu"], + ["function", "createMine"], + ["function", "createMissionDisplay"], + ["function", "createMPCampaignDisplay"], + ["function", "createSimpleObject"], + ["function", "createSimpleTask"], + ["function", "createSite"], + ["function", "createSoundSource"], + ["function", "createTask"], + ["function", "createTeam"], + ["function", "createTrigger"], + ["function", "createUnit"], + ["function", "createVehicle"], + ["function", "createVehicleCrew"], + ["function", "createVehicleLocal"], + ["function", "crew"], + ["function", "ctAddHeader"], + ["function", "ctAddRow"], + ["function", "ctClear"], + ["function", "ctCurSel"], + ["function", "ctData"], + ["function", "ctFindHeaderRows"], + ["function", "ctFindRowHeader"], + ["function", "ctHeaderControls"], + ["function", "ctHeaderCount"], + ["function", "ctRemoveHeaders"], + ["function", "ctRemoveRows"], + ["function", "ctrlActivate"], + ["function", "ctrlAddEventHandler"], + ["function", "ctrlAngle"], + ["function", "ctrlAutoScrollDelay"], + ["function", "ctrlAutoScrollRewind"], + ["function", "ctrlAutoScrollSpeed"], + ["function", "ctrlChecked"], + ["function", "ctrlClassName"], + ["function", "ctrlCommit"], + ["function", "ctrlCommitted"], + ["function", "ctrlCreate"], + ["function", "ctrlDelete"], + ["function", "ctrlEnable"], + ["function", "ctrlEnabled"], + ["function", "ctrlFade"], + ["function", "ctrlHTMLLoaded"], + ["function", "ctrlIDC"], + ["function", "ctrlIDD"], + ["function", "ctrlMapAnimAdd"], + ["function", "ctrlMapAnimClear"], + ["function", "ctrlMapAnimCommit"], + ["function", "ctrlMapAnimDone"], + ["function", "ctrlMapCursor"], + ["function", "ctrlMapMouseOver"], + ["function", "ctrlMapScale"], + ["function", "ctrlMapScreenToWorld"], + ["function", "ctrlMapWorldToScreen"], + ["function", "ctrlModel"], + ["function", "ctrlModelDirAndUp"], + ["function", "ctrlModelScale"], + ["function", "ctrlParent"], + ["function", "ctrlParentControlsGroup"], + ["function", "ctrlPosition"], + ["function", "ctrlRemoveAllEventHandlers"], + ["function", "ctrlRemoveEventHandler"], + ["function", "ctrlScale"], + ["function", "ctrlSetActiveColor"], + ["function", "ctrlSetAngle"], + ["function", "ctrlSetAutoScrollDelay"], + ["function", "ctrlSetAutoScrollRewind"], + ["function", "ctrlSetAutoScrollSpeed"], + ["function", "ctrlSetBackgroundColor"], + ["function", "ctrlSetChecked"], + ["function", "ctrlSetDisabledColor"], + ["function", "ctrlSetEventHandler"], + ["function", "ctrlSetFade"], + ["function", "ctrlSetFocus"], + ["function", "ctrlSetFont"], + ["function", "ctrlSetFontH1"], + ["function", "ctrlSetFontH1B"], + ["function", "ctrlSetFontH2"], + ["function", "ctrlSetFontH2B"], + ["function", "ctrlSetFontH3"], + ["function", "ctrlSetFontH3B"], + ["function", "ctrlSetFontH4"], + ["function", "ctrlSetFontH4B"], + ["function", "ctrlSetFontH5"], + ["function", "ctrlSetFontH5B"], + ["function", "ctrlSetFontH6"], + ["function", "ctrlSetFontH6B"], + ["function", "ctrlSetFontHeight"], + ["function", "ctrlSetFontHeightH1"], + ["function", "ctrlSetFontHeightH2"], + ["function", "ctrlSetFontHeightH3"], + ["function", "ctrlSetFontHeightH4"], + ["function", "ctrlSetFontHeightH5"], + ["function", "ctrlSetFontHeightH6"], + ["function", "ctrlSetFontHeightSecondary"], + ["function", "ctrlSetFontP"], + ["function", "ctrlSetFontPB"], + ["function", "ctrlSetFontSecondary"], + ["function", "ctrlSetForegroundColor"], + ["function", "ctrlSetModel"], + ["function", "ctrlSetModelDirAndUp"], + ["function", "ctrlSetModelScale"], + ["function", "ctrlSetPixelPrecision"], + ["function", "ctrlSetPosition"], + ["function", "ctrlSetScale"], + ["function", "ctrlSetStructuredText"], + ["function", "ctrlSetText"], + ["function", "ctrlSetTextColor"], + ["function", "ctrlSetTextColorSecondary"], + ["function", "ctrlSetTextSecondary"], + ["function", "ctrlSetTooltip"], + ["function", "ctrlSetTooltipColorBox"], + ["function", "ctrlSetTooltipColorShade"], + ["function", "ctrlSetTooltipColorText"], + ["function", "ctrlShow"], + ["function", "ctrlShown"], + ["function", "ctrlText"], + ["function", "ctrlTextHeight"], + ["function", "ctrlTextSecondary"], + ["function", "ctrlTextWidth"], + ["function", "ctrlType"], + ["function", "ctrlVisible"], + ["function", "ctRowControls"], + ["function", "ctRowCount"], + ["function", "ctSetCurSel"], + ["function", "ctSetData"], + ["function", "ctSetHeaderTemplate"], + ["function", "ctSetRowTemplate"], + ["function", "ctSetValue"], + ["function", "ctValue"], + ["function", "curatorAddons"], + ["function", "curatorCamera"], + ["function", "curatorCameraArea"], + ["function", "curatorCameraAreaCeiling"], + ["function", "curatorCoef"], + ["function", "curatorEditableObjects"], + ["function", "curatorEditingArea"], + ["function", "curatorEditingAreaType"], + ["function", "curatorMouseOver"], + ["function", "curatorPoints"], + ["function", "curatorRegisteredObjects"], + ["function", "curatorSelected"], + ["function", "curatorWaypointCost"], + ["function", "current3DENOperation"], + ["function", "currentChannel"], + ["function", "currentCommand"], + ["function", "currentMagazine"], + ["function", "currentMagazineDetail"], + ["function", "currentMagazineDetailTurret"], + ["function", "currentMagazineTurret"], + ["function", "currentMuzzle"], + ["function", "currentNamespace"], + ["function", "currentTask"], + ["function", "currentTasks"], + ["function", "currentThrowable"], + ["function", "currentVisionMode"], + ["function", "currentWaypoint"], + ["function", "currentWeapon"], + ["function", "currentWeaponMode"], + ["function", "currentWeaponTurret"], + ["function", "currentZeroing"], + ["function", "cursorObject"], + ["function", "cursorTarget"], + ["function", "customChat"], + ["function", "customRadio"], + ["function", "cutFadeOut"], + ["function", "cutObj"], + ["function", "cutRsc"], + ["function", "cutText"], + ["function", "damage"], + ["function", "date"], + ["function", "dateToNumber"], + ["function", "daytime"], + ["function", "deActivateKey"], + ["function", "debriefingText"], + ["function", "debugFSM"], + ["function", "debugLog"], + ["function", "deg"], + ["function", "delete3DENEntities"], + ["function", "deleteAt"], + ["function", "deleteCenter"], + ["function", "deleteCollection"], + ["function", "deleteEditorObject"], + ["function", "deleteGroup"], + ["function", "deleteGroupWhenEmpty"], + ["function", "deleteIdentity"], + ["function", "deleteLocation"], + ["function", "deleteMarker"], + ["function", "deleteMarkerLocal"], + ["function", "deleteRange"], + ["function", "deleteResources"], + ["function", "deleteSite"], + ["function", "deleteStatus"], + ["function", "deleteTeam"], + ["function", "deleteVehicle"], + ["function", "deleteVehicleCrew"], + ["function", "deleteWaypoint"], + ["function", "detach"], + ["function", "detectedMines"], + ["function", "diag_activeMissionFSMs"], + ["function", "diag_activeScripts"], + ["function", "diag_activeSQFScripts"], + ["function", "diag_activeSQSScripts"], + ["function", "diag_captureFrame"], + ["function", "diag_captureFrameToFile"], + ["function", "diag_captureSlowFrame"], + ["function", "diag_codePerformance"], + ["function", "diag_drawMode"], + ["function", "diag_dynamicSimulationEnd"], + ["function", "diag_enable"], + ["function", "diag_enabled"], + ["function", "diag_fps"], + ["function", "diag_fpsMin"], + ["function", "diag_frameNo"], + ["function", "diag_lightNewLoad"], + ["function", "diag_list"], + ["function", "diag_log"], + ["function", "diag_logSlowFrame"], + ["function", "diag_mergeConfigFile"], + ["function", "diag_recordTurretLimits"], + ["function", "diag_setLightNew"], + ["function", "diag_tickTime"], + ["function", "diag_toggle"], + ["function", "dialog"], + ["function", "diarySubjectExists"], + ["function", "didJIP"], + ["function", "didJIPOwner"], + ["function", "difficulty"], + ["function", "difficultyEnabled"], + ["function", "difficultyEnabledRTD"], + ["function", "difficultyOption"], + ["function", "direction"], + ["function", "directSay"], + ["function", "disableAI"], + ["function", "disableCollisionWith"], + ["function", "disableConversation"], + ["function", "disableDebriefingStats"], + ["function", "disableMapIndicators"], + ["function", "disableNVGEquipment"], + ["function", "disableRemoteSensors"], + ["function", "disableSerialization"], + ["function", "disableTIEquipment"], + ["function", "disableUAVConnectability"], + ["function", "disableUserInput"], + ["function", "displayAddEventHandler"], + ["function", "displayCtrl"], + ["function", "displayNull"], + ["function", "displayParent"], + ["function", "displayRemoveAllEventHandlers"], + ["function", "displayRemoveEventHandler"], + ["function", "displaySetEventHandler"], + ["function", "dissolveTeam"], + ["function", "distance"], + ["function", "distance2D"], + ["function", "distanceSqr"], + ["function", "distributionRegion"], + ["function", "do3DENAction"], + ["function", "doArtilleryFire"], + ["function", "doFire"], + ["function", "doFollow"], + ["function", "doFSM"], + ["function", "doGetOut"], + ["function", "doMove"], + ["function", "doorPhase"], + ["function", "doStop"], + ["function", "doSuppressiveFire"], + ["function", "doTarget"], + ["function", "doWatch"], + ["function", "drawArrow"], + ["function", "drawEllipse"], + ["function", "drawIcon"], + ["function", "drawIcon3D"], + ["function", "drawLine"], + ["function", "drawLine3D"], + ["function", "drawLink"], + ["function", "drawLocation"], + ["function", "drawPolygon"], + ["function", "drawRectangle"], + ["function", "drawTriangle"], + ["function", "driver"], + ["function", "drop"], + ["function", "dynamicSimulationDistance"], + ["function", "dynamicSimulationDistanceCoef"], + ["function", "dynamicSimulationEnabled"], + ["function", "dynamicSimulationSystemEnabled"], + ["function", "east"], + ["function", "edit3DENMissionAttributes"], + ["function", "editObject"], + ["function", "editorSetEventHandler"], + ["function", "effectiveCommander"], + ["function", "emptyPositions"], + ["function", "enableAI"], + ["function", "enableAIFeature"], + ["function", "enableAimPrecision"], + ["function", "enableAttack"], + ["function", "enableAudioFeature"], + ["function", "enableAutoStartUpRTD"], + ["function", "enableAutoTrimRTD"], + ["function", "enableCamShake"], + ["function", "enableCaustics"], + ["function", "enableChannel"], + ["function", "enableCollisionWith"], + ["function", "enableCopilot"], + ["function", "enableDebriefingStats"], + ["function", "enableDiagLegend"], + ["function", "enableDynamicSimulation"], + ["function", "enableDynamicSimulationSystem"], + ["function", "enableEndDialog"], + ["function", "enableEngineArtillery"], + ["function", "enableEnvironment"], + ["function", "enableFatigue"], + ["function", "enableGunLights"], + ["function", "enableInfoPanelComponent"], + ["function", "enableIRLasers"], + ["function", "enableMimics"], + ["function", "enablePersonTurret"], + ["function", "enableRadio"], + ["function", "enableReload"], + ["function", "enableRopeAttach"], + ["function", "enableSatNormalOnDetail"], + ["function", "enableSaving"], + ["function", "enableSentences"], + ["function", "enableSimulation"], + ["function", "enableSimulationGlobal"], + ["function", "enableStamina"], + ["function", "enableStressDamage"], + ["function", "enableTeamSwitch"], + ["function", "enableTraffic"], + ["function", "enableUAVConnectability"], + ["function", "enableUAVWaypoints"], + ["function", "enableVehicleCargo"], + ["function", "enableVehicleSensor"], + ["function", "enableWeaponDisassembly"], + ["function", "endl"], + ["function", "endLoadingScreen"], + ["function", "endMission"], + ["function", "engineOn"], + ["function", "enginesIsOnRTD"], + ["function", "enginesPowerRTD"], + ["function", "enginesRpmRTD"], + ["function", "enginesTorqueRTD"], + ["function", "entities"], + ["function", "environmentEnabled"], + ["function", "estimatedEndServerTime"], + ["function", "estimatedTimeLeft"], + ["function", "evalObjectArgument"], + ["function", "everyBackpack"], + ["function", "everyContainer"], + ["function", "exec"], + ["function", "execEditorScript"], + ["function", "exp"], + ["function", "expectedDestination"], + ["function", "exportJIPMessages"], + ["function", "eyeDirection"], + ["function", "eyePos"], + ["function", "face"], + ["function", "faction"], + ["function", "fadeMusic"], + ["function", "fadeRadio"], + ["function", "fadeSound"], + ["function", "fadeSpeech"], + ["function", "failMission"], + ["function", "fillWeaponsFromPool"], + ["function", "find"], + ["function", "findCover"], + ["function", "findDisplay"], + ["function", "findEditorObject"], + ["function", "findEmptyPosition"], + ["function", "findEmptyPositionReady"], + ["function", "findIf"], + ["function", "findNearestEnemy"], + ["function", "finishMissionInit"], + ["function", "finite"], + ["function", "fire"], + ["function", "fireAtTarget"], + ["function", "firstBackpack"], + ["function", "flag"], + ["function", "flagAnimationPhase"], + ["function", "flagOwner"], + ["function", "flagSide"], + ["function", "flagTexture"], + ["function", "fleeing"], + ["function", "floor"], + ["function", "flyInHeight"], + ["function", "flyInHeightASL"], + ["function", "fog"], + ["function", "fogForecast"], + ["function", "fogParams"], + ["function", "forceAddUniform"], + ["function", "forceAtPositionRTD"], + ["function", "forcedMap"], + ["function", "forceEnd"], + ["function", "forceFlagTexture"], + ["function", "forceFollowRoad"], + ["function", "forceGeneratorRTD"], + ["function", "forceMap"], + ["function", "forceRespawn"], + ["function", "forceSpeed"], + ["function", "forceWalk"], + ["function", "forceWeaponFire"], + ["function", "forceWeatherChange"], + ["function", "forgetTarget"], + ["function", "format"], + ["function", "formation"], + ["function", "formationDirection"], + ["function", "formationLeader"], + ["function", "formationMembers"], + ["function", "formationPosition"], + ["function", "formationTask"], + ["function", "formatText"], + ["function", "formLeader"], + ["function", "freeLook"], + ["function", "fromEditor"], + ["function", "fuel"], + ["function", "fullCrew"], + ["function", "gearIDCAmmoCount"], + ["function", "gearSlotAmmoCount"], + ["function", "gearSlotData"], + ["function", "get3DENActionState"], + ["function", "get3DENAttribute"], + ["function", "get3DENCamera"], + ["function", "get3DENConnections"], + ["function", "get3DENEntity"], + ["function", "get3DENEntityID"], + ["function", "get3DENGrid"], + ["function", "get3DENIconsVisible"], + ["function", "get3DENLayerEntities"], + ["function", "get3DENLinesVisible"], + ["function", "get3DENMissionAttribute"], + ["function", "get3DENMouseOver"], + ["function", "get3DENSelected"], + ["function", "getAimingCoef"], + ["function", "getAllEnvSoundControllers"], + ["function", "getAllHitPointsDamage"], + ["function", "getAllOwnedMines"], + ["function", "getAllSoundControllers"], + ["function", "getAmmoCargo"], + ["function", "getAnimAimPrecision"], + ["function", "getAnimSpeedCoef"], + ["function", "getArray"], + ["function", "getArtilleryAmmo"], + ["function", "getArtilleryComputerSettings"], + ["function", "getArtilleryETA"], + ["function", "getAssignedCuratorLogic"], + ["function", "getAssignedCuratorUnit"], + ["function", "getBackpackCargo"], + ["function", "getBleedingRemaining"], + ["function", "getBurningValue"], + ["function", "getCameraViewDirection"], + ["function", "getCargoIndex"], + ["function", "getCenterOfMass"], + ["function", "getClientState"], + ["function", "getClientStateNumber"], + ["function", "getCompatiblePylonMagazines"], + ["function", "getConnectedUAV"], + ["function", "getContainerMaxLoad"], + ["function", "getCursorObjectParams"], + ["function", "getCustomAimCoef"], + ["function", "getDammage"], + ["function", "getDescription"], + ["function", "getDir"], + ["function", "getDirVisual"], + ["function", "getDLCAssetsUsage"], + ["function", "getDLCAssetsUsageByName"], + ["function", "getDLCs"], + ["function", "getDLCUsageTime"], + ["function", "getEditorCamera"], + ["function", "getEditorMode"], + ["function", "getEditorObjectScope"], + ["function", "getElevationOffset"], + ["function", "getEngineTargetRpmRTD"], + ["function", "getEnvSoundController"], + ["function", "getFatigue"], + ["function", "getFieldManualStartPage"], + ["function", "getForcedFlagTexture"], + ["function", "getFriend"], + ["function", "getFSMVariable"], + ["function", "getFuelCargo"], + ["function", "getGroupIcon"], + ["function", "getGroupIconParams"], + ["function", "getGroupIcons"], + ["function", "getHideFrom"], + ["function", "getHit"], + ["function", "getHitIndex"], + ["function", "getHitPointDamage"], + ["function", "getItemCargo"], + ["function", "getMagazineCargo"], + ["function", "getMarkerColor"], + ["function", "getMarkerPos"], + ["function", "getMarkerSize"], + ["function", "getMarkerType"], + ["function", "getMass"], + ["function", "getMissionConfig"], + ["function", "getMissionConfigValue"], + ["function", "getMissionDLCs"], + ["function", "getMissionLayerEntities"], + ["function", "getMissionLayers"], + ["function", "getModelInfo"], + ["function", "getMousePosition"], + ["function", "getMusicPlayedTime"], + ["function", "getNumber"], + ["function", "getObjectArgument"], + ["function", "getObjectChildren"], + ["function", "getObjectDLC"], + ["function", "getObjectMaterials"], + ["function", "getObjectProxy"], + ["function", "getObjectTextures"], + ["function", "getObjectType"], + ["function", "getObjectViewDistance"], + ["function", "getOxygenRemaining"], + ["function", "getPersonUsedDLCs"], + ["function", "getPilotCameraDirection"], + ["function", "getPilotCameraPosition"], + ["function", "getPilotCameraRotation"], + ["function", "getPilotCameraTarget"], + ["function", "getPlateNumber"], + ["function", "getPlayerChannel"], + ["function", "getPlayerScores"], + ["function", "getPlayerUID"], + ["function", "getPlayerUIDOld"], + ["function", "getPos"], + ["function", "getPosASL"], + ["function", "getPosASLVisual"], + ["function", "getPosASLW"], + ["function", "getPosATL"], + ["function", "getPosATLVisual"], + ["function", "getPosVisual"], + ["function", "getPosWorld"], + ["function", "getPylonMagazines"], + ["function", "getRelDir"], + ["function", "getRelPos"], + ["function", "getRemoteSensorsDisabled"], + ["function", "getRepairCargo"], + ["function", "getResolution"], + ["function", "getRotorBrakeRTD"], + ["function", "getShadowDistance"], + ["function", "getShotParents"], + ["function", "getSlingLoad"], + ["function", "getSoundController"], + ["function", "getSoundControllerResult"], + ["function", "getSpeed"], + ["function", "getStamina"], + ["function", "getStatValue"], + ["function", "getSuppression"], + ["function", "getTerrainGrid"], + ["function", "getTerrainHeightASL"], + ["function", "getText"], + ["function", "getTotalDLCUsageTime"], + ["function", "getTrimOffsetRTD"], + ["function", "getUnitLoadout"], + ["function", "getUnitTrait"], + ["function", "getUserMFDText"], + ["function", "getUserMFDValue"], + ["function", "getVariable"], + ["function", "getVehicleCargo"], + ["function", "getWeaponCargo"], + ["function", "getWeaponSway"], + ["function", "getWingsOrientationRTD"], + ["function", "getWingsPositionRTD"], + ["function", "getWPPos"], + ["function", "glanceAt"], + ["function", "globalChat"], + ["function", "globalRadio"], + ["function", "goggles"], + ["function", "group"], + ["function", "groupChat"], + ["function", "groupFromNetId"], + ["function", "groupIconSelectable"], + ["function", "groupIconsVisible"], + ["function", "groupId"], + ["function", "groupOwner"], + ["function", "groupRadio"], + ["function", "groupSelectedUnits"], + ["function", "groupSelectUnit"], + ["function", "grpNull"], + ["function", "gunner"], + ["function", "gusts"], + ["function", "halt"], + ["function", "handgunItems"], + ["function", "handgunMagazine"], + ["function", "handgunWeapon"], + ["function", "handsHit"], + ["function", "hasInterface"], + ["function", "hasPilotCamera"], + ["function", "hasWeapon"], + ["function", "hcAllGroups"], + ["function", "hcGroupParams"], + ["function", "hcLeader"], + ["function", "hcRemoveAllGroups"], + ["function", "hcRemoveGroup"], + ["function", "hcSelected"], + ["function", "hcSelectGroup"], + ["function", "hcSetGroup"], + ["function", "hcShowBar"], + ["function", "hcShownBar"], + ["function", "headgear"], + ["function", "hideBody"], + ["function", "hideObject"], + ["function", "hideObjectGlobal"], + ["function", "hideSelection"], + ["function", "hint"], + ["function", "hintC"], + ["function", "hintCadet"], + ["function", "hintSilent"], + ["function", "hmd"], + ["function", "hostMission"], + ["function", "htmlLoad"], + ["function", "HUDMovementLevels"], + ["function", "humidity"], + ["function", "image"], + ["function", "importAllGroups"], + ["function", "importance"], + ["function", "in"], + ["function", "inArea"], + ["function", "inAreaArray"], + ["function", "incapacitatedState"], + ["function", "independent"], + ["function", "inflame"], + ["function", "inflamed"], + ["function", "infoPanel"], + ["function", "infoPanelComponentEnabled"], + ["function", "infoPanelComponents"], + ["function", "infoPanels"], + ["function", "inGameUISetEventHandler"], + ["function", "inheritsFrom"], + ["function", "initAmbientLife"], + ["function", "inPolygon"], + ["function", "inputAction"], + ["function", "inRangeOfArtillery"], + ["function", "insertEditorObject"], + ["function", "intersect"], + ["function", "is3DEN"], + ["function", "is3DENMultiplayer"], + ["function", "isAbleToBreathe"], + ["function", "isAgent"], + ["function", "isAimPrecisionEnabled"], + ["function", "isArray"], + ["function", "isAutoHoverOn"], + ["function", "isAutonomous"], + ["function", "isAutoStartUpEnabledRTD"], + ["function", "isAutotest"], + ["function", "isAutoTrimOnRTD"], + ["function", "isBleeding"], + ["function", "isBurning"], + ["function", "isClass"], + ["function", "isCollisionLightOn"], + ["function", "isCopilotEnabled"], + ["function", "isDamageAllowed"], + ["function", "isDedicated"], + ["function", "isDLCAvailable"], + ["function", "isEngineOn"], + ["function", "isEqualTo"], + ["function", "isEqualType"], + ["function", "isEqualTypeAll"], + ["function", "isEqualTypeAny"], + ["function", "isEqualTypeArray"], + ["function", "isEqualTypeParams"], + ["function", "isFilePatchingEnabled"], + ["function", "isFlashlightOn"], + ["function", "isFlatEmpty"], + ["function", "isForcedWalk"], + ["function", "isFormationLeader"], + ["function", "isGroupDeletedWhenEmpty"], + ["function", "isHidden"], + ["function", "isInRemainsCollector"], + ["function", "isInstructorFigureEnabled"], + ["function", "isIRLaserOn"], + ["function", "isKeyActive"], + ["function", "isKindOf"], + ["function", "isLaserOn"], + ["function", "isLightOn"], + ["function", "isLocalized"], + ["function", "isManualFire"], + ["function", "isMarkedForCollection"], + ["function", "isMultiplayer"], + ["function", "isMultiplayerSolo"], + ["function", "isNil"], + ["function", "isNull"], + ["function", "isNumber"], + ["function", "isObjectHidden"], + ["function", "isObjectRTD"], + ["function", "isOnRoad"], + ["function", "isPipEnabled"], + ["function", "isPlayer"], + ["function", "isRealTime"], + ["function", "isRemoteExecuted"], + ["function", "isRemoteExecutedJIP"], + ["function", "isServer"], + ["function", "isShowing3DIcons"], + ["function", "isSimpleObject"], + ["function", "isSprintAllowed"], + ["function", "isStaminaEnabled"], + ["function", "isSteamMission"], + ["function", "isStreamFriendlyUIEnabled"], + ["function", "isStressDamageEnabled"], + ["function", "isText"], + ["function", "isTouchingGround"], + ["function", "isTurnedOut"], + ["function", "isTutHintsEnabled"], + ["function", "isUAVConnectable"], + ["function", "isUAVConnected"], + ["function", "isUIContext"], + ["function", "isUniformAllowed"], + ["function", "isVehicleCargo"], + ["function", "isVehicleRadarOn"], + ["function", "isVehicleSensorEnabled"], + ["function", "isWalking"], + ["function", "isWeaponDeployed"], + ["function", "isWeaponRested"], + ["function", "itemCargo"], + ["function", "items"], + ["function", "itemsWithMagazines"], + ["function", "join"], + ["function", "joinAs"], + ["function", "joinAsSilent"], + ["function", "joinSilent"], + ["function", "joinString"], + ["function", "kbAddDatabase"], + ["function", "kbAddDatabaseTargets"], + ["function", "kbAddTopic"], + ["function", "kbHasTopic"], + ["function", "kbReact"], + ["function", "kbRemoveTopic"], + ["function", "kbTell"], + ["function", "kbWasSaid"], + ["function", "keyImage"], + ["function", "keyName"], + ["function", "knowsAbout"], + ["function", "land"], + ["function", "landAt"], + ["function", "landResult"], + ["function", "language"], + ["function", "laserTarget"], + ["function", "lbAdd"], + ["function", "lbClear"], + ["function", "lbColor"], + ["function", "lbColorRight"], + ["function", "lbCurSel"], + ["function", "lbData"], + ["function", "lbDelete"], + ["function", "lbIsSelected"], + ["function", "lbPicture"], + ["function", "lbPictureRight"], + ["function", "lbSelection"], + ["function", "lbSetColor"], + ["function", "lbSetColorRight"], + ["function", "lbSetCurSel"], + ["function", "lbSetData"], + ["function", "lbSetPicture"], + ["function", "lbSetPictureColor"], + ["function", "lbSetPictureColorDisabled"], + ["function", "lbSetPictureColorSelected"], + ["function", "lbSetPictureRight"], + ["function", "lbSetPictureRightColor"], + ["function", "lbSetPictureRightColorDisabled"], + ["function", "lbSetPictureRightColorSelected"], + ["function", "lbSetSelectColor"], + ["function", "lbSetSelectColorRight"], + ["function", "lbSetSelected"], + ["function", "lbSetText"], + ["function", "lbSetTextRight"], + ["function", "lbSetTooltip"], + ["function", "lbSetValue"], + ["function", "lbSize"], + ["function", "lbSort"], + ["function", "lbSortByValue"], + ["function", "lbText"], + ["function", "lbTextRight"], + ["function", "lbValue"], + ["function", "leader"], + ["function", "leaderboardDeInit"], + ["function", "leaderboardGetRows"], + ["function", "leaderboardInit"], + ["function", "leaderboardRequestRowsFriends"], + ["function", "leaderboardRequestRowsGlobal"], + ["function", "leaderboardRequestRowsGlobalAroundUser"], + ["function", "leaderboardsRequestUploadScore"], + ["function", "leaderboardsRequestUploadScoreKeepBest"], + ["function", "leaderboardState"], + ["function", "leaveVehicle"], + ["function", "libraryCredits"], + ["function", "libraryDisclaimers"], + ["function", "lifeState"], + ["function", "lightAttachObject"], + ["function", "lightDetachObject"], + ["function", "lightIsOn"], + ["function", "lightnings"], + ["function", "limitSpeed"], + ["function", "linearConversion"], + ["function", "lineBreak"], + ["function", "lineIntersects"], + ["function", "lineIntersectsObjs"], + ["function", "lineIntersectsSurfaces"], + ["function", "lineIntersectsWith"], + ["function", "linkItem"], + ["function", "list"], + ["function", "listObjects"], + ["function", "listRemoteTargets"], + ["function", "listVehicleSensors"], + ["function", "ln"], + ["function", "lnbAddArray"], + ["function", "lnbAddColumn"], + ["function", "lnbAddRow"], + ["function", "lnbClear"], + ["function", "lnbColor"], + ["function", "lnbColorRight"], + ["function", "lnbCurSelRow"], + ["function", "lnbData"], + ["function", "lnbDeleteColumn"], + ["function", "lnbDeleteRow"], + ["function", "lnbGetColumnsPosition"], + ["function", "lnbPicture"], + ["function", "lnbPictureRight"], + ["function", "lnbSetColor"], + ["function", "lnbSetColorRight"], + ["function", "lnbSetColumnsPos"], + ["function", "lnbSetCurSelRow"], + ["function", "lnbSetData"], + ["function", "lnbSetPicture"], + ["function", "lnbSetPictureColor"], + ["function", "lnbSetPictureColorRight"], + ["function", "lnbSetPictureColorSelected"], + ["function", "lnbSetPictureColorSelectedRight"], + ["function", "lnbSetPictureRight"], + ["function", "lnbSetText"], + ["function", "lnbSetTextRight"], + ["function", "lnbSetValue"], + ["function", "lnbSize"], + ["function", "lnbSort"], + ["function", "lnbSortByValue"], + ["function", "lnbText"], + ["function", "lnbTextRight"], + ["function", "lnbValue"], + ["function", "load"], + ["function", "loadAbs"], + ["function", "loadBackpack"], + ["function", "loadFile"], + ["function", "loadGame"], + ["function", "loadIdentity"], + ["function", "loadMagazine"], + ["function", "loadOverlay"], + ["function", "loadStatus"], + ["function", "loadUniform"], + ["function", "loadVest"], + ["function", "local"], + ["function", "localize"], + ["function", "locationNull"], + ["function", "locationPosition"], + ["function", "lock"], + ["function", "lockCameraTo"], + ["function", "lockCargo"], + ["function", "lockDriver"], + ["function", "locked"], + ["function", "lockedCargo"], + ["function", "lockedDriver"], + ["function", "lockedTurret"], + ["function", "lockIdentity"], + ["function", "lockTurret"], + ["function", "lockWP"], + ["function", "log"], + ["function", "logEntities"], + ["function", "logNetwork"], + ["function", "logNetworkTerminate"], + ["function", "lookAt"], + ["function", "lookAtPos"], + ["function", "magazineCargo"], + ["function", "magazines"], + ["function", "magazinesAllTurrets"], + ["function", "magazinesAmmo"], + ["function", "magazinesAmmoCargo"], + ["function", "magazinesAmmoFull"], + ["function", "magazinesDetail"], + ["function", "magazinesDetailBackpack"], + ["function", "magazinesDetailUniform"], + ["function", "magazinesDetailVest"], + ["function", "magazinesTurret"], + ["function", "magazineTurretAmmo"], + ["function", "mapAnimAdd"], + ["function", "mapAnimClear"], + ["function", "mapAnimCommit"], + ["function", "mapAnimDone"], + ["function", "mapCenterOnCamera"], + ["function", "mapGridPosition"], + ["function", "markAsFinishedOnSteam"], + ["function", "markerAlpha"], + ["function", "markerBrush"], + ["function", "markerColor"], + ["function", "markerDir"], + ["function", "markerPos"], + ["function", "markerShape"], + ["function", "markerSize"], + ["function", "markerText"], + ["function", "markerType"], + ["function", "max"], + ["function", "members"], + ["function", "menuAction"], + ["function", "menuAdd"], + ["function", "menuChecked"], + ["function", "menuClear"], + ["function", "menuCollapse"], + ["function", "menuData"], + ["function", "menuDelete"], + ["function", "menuEnable"], + ["function", "menuEnabled"], + ["function", "menuExpand"], + ["function", "menuHover"], + ["function", "menuPicture"], + ["function", "menuSetAction"], + ["function", "menuSetCheck"], + ["function", "menuSetData"], + ["function", "menuSetPicture"], + ["function", "menuSetValue"], + ["function", "menuShortcut"], + ["function", "menuShortcutText"], + ["function", "menuSize"], + ["function", "menuSort"], + ["function", "menuText"], + ["function", "menuURL"], + ["function", "menuValue"], + ["function", "min"], + ["function", "mineActive"], + ["function", "mineDetectedBy"], + ["function", "missionConfigFile"], + ["function", "missionDifficulty"], + ["function", "missionName"], + ["function", "missionNamespace"], + ["function", "missionStart"], + ["function", "missionVersion"], + ["function", "modelToWorld"], + ["function", "modelToWorldVisual"], + ["function", "modelToWorldVisualWorld"], + ["function", "modelToWorldWorld"], + ["function", "modParams"], + ["function", "moonIntensity"], + ["function", "moonPhase"], + ["function", "morale"], + ["function", "move"], + ["function", "move3DENCamera"], + ["function", "moveInAny"], + ["function", "moveInCargo"], + ["function", "moveInCommander"], + ["function", "moveInDriver"], + ["function", "moveInGunner"], + ["function", "moveInTurret"], + ["function", "moveObjectToEnd"], + ["function", "moveOut"], + ["function", "moveTime"], + ["function", "moveTo"], + ["function", "moveToCompleted"], + ["function", "moveToFailed"], + ["function", "musicVolume"], + ["function", "name"], + ["function", "nameSound"], + ["function", "nearEntities"], + ["function", "nearestBuilding"], + ["function", "nearestLocation"], + ["function", "nearestLocations"], + ["function", "nearestLocationWithDubbing"], + ["function", "nearestObject"], + ["function", "nearestObjects"], + ["function", "nearestTerrainObjects"], + ["function", "nearObjects"], + ["function", "nearObjectsReady"], + ["function", "nearRoads"], + ["function", "nearSupplies"], + ["function", "nearTargets"], + ["function", "needReload"], + ["function", "netId"], + ["function", "netObjNull"], + ["function", "newOverlay"], + ["function", "nextMenuItemIndex"], + ["function", "nextWeatherChange"], + ["function", "nMenuItems"], + ["function", "numberOfEnginesRTD"], + ["function", "numberToDate"], + ["function", "objectCurators"], + ["function", "objectFromNetId"], + ["function", "objectParent"], + ["function", "objNull"], + ["function", "objStatus"], + ["function", "onBriefingGear"], + ["function", "onBriefingGroup"], + ["function", "onBriefingNotes"], + ["function", "onBriefingPlan"], + ["function", "onBriefingTeamSwitch"], + ["function", "onCommandModeChanged"], + ["function", "onDoubleClick"], + ["function", "onEachFrame"], + ["function", "onGroupIconClick"], + ["function", "onGroupIconOverEnter"], + ["function", "onGroupIconOverLeave"], + ["function", "onHCGroupSelectionChanged"], + ["function", "onMapSingleClick"], + ["function", "onPlayerConnected"], + ["function", "onPlayerDisconnected"], + ["function", "onPreloadFinished"], + ["function", "onPreloadStarted"], + ["function", "onShowNewObject"], + ["function", "onTeamSwitch"], + ["function", "openCuratorInterface"], + ["function", "openDLCPage"], + ["function", "openDSInterface"], + ["function", "openMap"], + ["function", "openSteamApp"], + ["function", "openYoutubeVideo"], + ["function", "opfor"], + ["function", "orderGetIn"], + ["function", "overcast"], + ["function", "overcastForecast"], + ["function", "owner"], + ["function", "param"], + ["function", "params"], + ["function", "parseNumber"], + ["function", "parseSimpleArray"], + ["function", "parseText"], + ["function", "parsingNamespace"], + ["function", "particlesQuality"], + ["function", "pi"], + ["function", "pickWeaponPool"], + ["function", "pitch"], + ["function", "pixelGrid"], + ["function", "pixelGridBase"], + ["function", "pixelGridNoUIScale"], + ["function", "pixelH"], + ["function", "pixelW"], + ["function", "playableSlotsNumber"], + ["function", "playableUnits"], + ["function", "playAction"], + ["function", "playActionNow"], + ["function", "player"], + ["function", "playerRespawnTime"], + ["function", "playerSide"], + ["function", "playersNumber"], + ["function", "playGesture"], + ["function", "playMission"], + ["function", "playMove"], + ["function", "playMoveNow"], + ["function", "playMusic"], + ["function", "playScriptedMission"], + ["function", "playSound"], + ["function", "playSound3D"], + ["function", "position"], + ["function", "positionCameraToWorld"], + ["function", "posScreenToWorld"], + ["function", "posWorldToScreen"], + ["function", "ppEffectAdjust"], + ["function", "ppEffectCommit"], + ["function", "ppEffectCommitted"], + ["function", "ppEffectCreate"], + ["function", "ppEffectDestroy"], + ["function", "ppEffectEnable"], + ["function", "ppEffectEnabled"], + ["function", "ppEffectForceInNVG"], + ["function", "precision"], + ["function", "preloadCamera"], + ["function", "preloadObject"], + ["function", "preloadSound"], + ["function", "preloadTitleObj"], + ["function", "preloadTitleRsc"], + ["function", "primaryWeapon"], + ["function", "primaryWeaponItems"], + ["function", "primaryWeaponMagazine"], + ["function", "priority"], + ["function", "processDiaryLink"], + ["function", "processInitCommands"], + ["function", "productVersion"], + ["function", "profileName"], + ["function", "profileNamespace"], + ["function", "profileNameSteam"], + ["function", "progressLoadingScreen"], + ["function", "progressPosition"], + ["function", "progressSetPosition"], + ["function", "publicVariable"], + ["function", "publicVariableClient"], + ["function", "publicVariableServer"], + ["function", "pushBack"], + ["function", "pushBackUnique"], + ["function", "putWeaponPool"], + ["function", "queryItemsPool"], + ["function", "queryMagazinePool"], + ["function", "queryWeaponPool"], + ["function", "rad"], + ["function", "radioChannelAdd"], + ["function", "radioChannelCreate"], + ["function", "radioChannelRemove"], + ["function", "radioChannelSetCallSign"], + ["function", "radioChannelSetLabel"], + ["function", "radioVolume"], + ["function", "rain"], + ["function", "rainbow"], + ["function", "random"], + ["function", "rank"], + ["function", "rankId"], + ["function", "rating"], + ["function", "rectangular"], + ["function", "registeredTasks"], + ["function", "registerTask"], + ["function", "reload"], + ["function", "reloadEnabled"], + ["function", "remoteControl"], + ["function", "remoteExec"], + ["function", "remoteExecCall"], + ["function", "remoteExecutedOwner"], + ["function", "remove3DENConnection"], + ["function", "remove3DENEventHandler"], + ["function", "remove3DENLayer"], + ["function", "removeAction"], + ["function", "removeAll3DENEventHandlers"], + ["function", "removeAllActions"], + ["function", "removeAllAssignedItems"], + ["function", "removeAllContainers"], + ["function", "removeAllCuratorAddons"], + ["function", "removeAllCuratorCameraAreas"], + ["function", "removeAllCuratorEditingAreas"], + ["function", "removeAllEventHandlers"], + ["function", "removeAllHandgunItems"], + ["function", "removeAllItems"], + ["function", "removeAllItemsWithMagazines"], + ["function", "removeAllMissionEventHandlers"], + ["function", "removeAllMPEventHandlers"], + ["function", "removeAllMusicEventHandlers"], + ["function", "removeAllOwnedMines"], + ["function", "removeAllPrimaryWeaponItems"], + ["function", "removeAllWeapons"], + ["function", "removeBackpack"], + ["function", "removeBackpackGlobal"], + ["function", "removeCuratorAddons"], + ["function", "removeCuratorCameraArea"], + ["function", "removeCuratorEditableObjects"], + ["function", "removeCuratorEditingArea"], + ["function", "removeDrawIcon"], + ["function", "removeDrawLinks"], + ["function", "removeEventHandler"], + ["function", "removeFromRemainsCollector"], + ["function", "removeGoggles"], + ["function", "removeGroupIcon"], + ["function", "removeHandgunItem"], + ["function", "removeHeadgear"], + ["function", "removeItem"], + ["function", "removeItemFromBackpack"], + ["function", "removeItemFromUniform"], + ["function", "removeItemFromVest"], + ["function", "removeItems"], + ["function", "removeMagazine"], + ["function", "removeMagazineGlobal"], + ["function", "removeMagazines"], + ["function", "removeMagazinesTurret"], + ["function", "removeMagazineTurret"], + ["function", "removeMenuItem"], + ["function", "removeMissionEventHandler"], + ["function", "removeMPEventHandler"], + ["function", "removeMusicEventHandler"], + ["function", "removeOwnedMine"], + ["function", "removePrimaryWeaponItem"], + ["function", "removeSecondaryWeaponItem"], + ["function", "removeSimpleTask"], + ["function", "removeSwitchableUnit"], + ["function", "removeTeamMember"], + ["function", "removeUniform"], + ["function", "removeVest"], + ["function", "removeWeapon"], + ["function", "removeWeaponAttachmentCargo"], + ["function", "removeWeaponCargo"], + ["function", "removeWeaponGlobal"], + ["function", "removeWeaponTurret"], + ["function", "reportRemoteTarget"], + ["function", "requiredVersion"], + ["function", "resetCamShake"], + ["function", "resetSubgroupDirection"], + ["function", "resistance"], + ["function", "resize"], + ["function", "resources"], + ["function", "respawnVehicle"], + ["function", "restartEditorCamera"], + ["function", "reveal"], + ["function", "revealMine"], + ["function", "reverse"], + ["function", "reversedMouseY"], + ["function", "roadAt"], + ["function", "roadsConnectedTo"], + ["function", "roleDescription"], + ["function", "ropeAttachedObjects"], + ["function", "ropeAttachedTo"], + ["function", "ropeAttachEnabled"], + ["function", "ropeAttachTo"], + ["function", "ropeCreate"], + ["function", "ropeCut"], + ["function", "ropeDestroy"], + ["function", "ropeDetach"], + ["function", "ropeEndPosition"], + ["function", "ropeLength"], + ["function", "ropes"], + ["function", "ropeUnwind"], + ["function", "ropeUnwound"], + ["function", "rotorsForcesRTD"], + ["function", "rotorsRpmRTD"], + ["function", "round"], + ["function", "runInitScript"], + ["function", "safeZoneH"], + ["function", "safeZoneW"], + ["function", "safeZoneWAbs"], + ["function", "safeZoneX"], + ["function", "safeZoneXAbs"], + ["function", "safeZoneY"], + ["function", "save3DENInventory"], + ["function", "saveGame"], + ["function", "saveIdentity"], + ["function", "saveJoysticks"], + ["function", "saveOverlay"], + ["function", "saveProfileNamespace"], + ["function", "saveStatus"], + ["function", "saveVar"], + ["function", "savingEnabled"], + ["function", "say"], + ["function", "say2D"], + ["function", "say3D"], + ["function", "score"], + ["function", "scoreSide"], + ["function", "screenshot"], + ["function", "screenToWorld"], + ["function", "scriptDone"], + ["function", "scriptName"], + ["function", "scriptNull"], + ["function", "scudState"], + ["function", "secondaryWeapon"], + ["function", "secondaryWeaponItems"], + ["function", "secondaryWeaponMagazine"], + ["function", "select"], + ["function", "selectBestPlaces"], + ["function", "selectDiarySubject"], + ["function", "selectedEditorObjects"], + ["function", "selectEditorObject"], + ["function", "selectionNames"], + ["function", "selectionPosition"], + ["function", "selectLeader"], + ["function", "selectMax"], + ["function", "selectMin"], + ["function", "selectNoPlayer"], + ["function", "selectPlayer"], + ["function", "selectRandom"], + ["function", "selectRandomWeighted"], + ["function", "selectWeapon"], + ["function", "selectWeaponTurret"], + ["function", "sendAUMessage"], + ["function", "sendSimpleCommand"], + ["function", "sendTask"], + ["function", "sendTaskResult"], + ["function", "sendUDPMessage"], + ["function", "serverCommand"], + ["function", "serverCommandAvailable"], + ["function", "serverCommandExecutable"], + ["function", "serverName"], + ["function", "serverTime"], + ["function", "set"], + ["function", "set3DENAttribute"], + ["function", "set3DENAttributes"], + ["function", "set3DENGrid"], + ["function", "set3DENIconsVisible"], + ["function", "set3DENLayer"], + ["function", "set3DENLinesVisible"], + ["function", "set3DENLogicType"], + ["function", "set3DENMissionAttribute"], + ["function", "set3DENMissionAttributes"], + ["function", "set3DENModelsVisible"], + ["function", "set3DENObjectType"], + ["function", "set3DENSelected"], + ["function", "setAccTime"], + ["function", "setActualCollectiveRTD"], + ["function", "setAirplaneThrottle"], + ["function", "setAirportSide"], + ["function", "setAmmo"], + ["function", "setAmmoCargo"], + ["function", "setAmmoOnPylon"], + ["function", "setAnimSpeedCoef"], + ["function", "setAperture"], + ["function", "setApertureNew"], + ["function", "setArmoryPoints"], + ["function", "setAttributes"], + ["function", "setAutonomous"], + ["function", "setBehaviour"], + ["function", "setBleedingRemaining"], + ["function", "setBrakesRTD"], + ["function", "setCameraInterest"], + ["function", "setCamShakeDefParams"], + ["function", "setCamShakeParams"], + ["function", "setCamUseTI"], + ["function", "setCaptive"], + ["function", "setCenterOfMass"], + ["function", "setCollisionLight"], + ["function", "setCombatMode"], + ["function", "setCompassOscillation"], + ["function", "setConvoySeparation"], + ["function", "setCuratorCameraAreaCeiling"], + ["function", "setCuratorCoef"], + ["function", "setCuratorEditingAreaType"], + ["function", "setCuratorWaypointCost"], + ["function", "setCurrentChannel"], + ["function", "setCurrentTask"], + ["function", "setCurrentWaypoint"], + ["function", "setCustomAimCoef"], + ["function", "setCustomWeightRTD"], + ["function", "setDamage"], + ["function", "setDammage"], + ["function", "setDate"], + ["function", "setDebriefingText"], + ["function", "setDefaultCamera"], + ["function", "setDestination"], + ["function", "setDetailMapBlendPars"], + ["function", "setDir"], + ["function", "setDirection"], + ["function", "setDrawIcon"], + ["function", "setDriveOnPath"], + ["function", "setDropInterval"], + ["function", "setDynamicSimulationDistance"], + ["function", "setDynamicSimulationDistanceCoef"], + ["function", "setEditorMode"], + ["function", "setEditorObjectScope"], + ["function", "setEffectCondition"], + ["function", "setEngineRpmRTD"], + ["function", "setFace"], + ["function", "setFaceAnimation"], + ["function", "setFatigue"], + ["function", "setFeatureType"], + ["function", "setFlagAnimationPhase"], + ["function", "setFlagOwner"], + ["function", "setFlagSide"], + ["function", "setFlagTexture"], + ["function", "setFog"], + ["function", "setForceGeneratorRTD"], + ["function", "setFormation"], + ["function", "setFormationTask"], + ["function", "setFormDir"], + ["function", "setFriend"], + ["function", "setFromEditor"], + ["function", "setFSMVariable"], + ["function", "setFuel"], + ["function", "setFuelCargo"], + ["function", "setGroupIcon"], + ["function", "setGroupIconParams"], + ["function", "setGroupIconsSelectable"], + ["function", "setGroupIconsVisible"], + ["function", "setGroupId"], + ["function", "setGroupIdGlobal"], + ["function", "setGroupOwner"], + ["function", "setGusts"], + ["function", "setHideBehind"], + ["function", "setHit"], + ["function", "setHitIndex"], + ["function", "setHitPointDamage"], + ["function", "setHorizonParallaxCoef"], + ["function", "setHUDMovementLevels"], + ["function", "setIdentity"], + ["function", "setImportance"], + ["function", "setInfoPanel"], + ["function", "setLeader"], + ["function", "setLightAmbient"], + ["function", "setLightAttenuation"], + ["function", "setLightBrightness"], + ["function", "setLightColor"], + ["function", "setLightDayLight"], + ["function", "setLightFlareMaxDistance"], + ["function", "setLightFlareSize"], + ["function", "setLightIntensity"], + ["function", "setLightnings"], + ["function", "setLightUseFlare"], + ["function", "setLocalWindParams"], + ["function", "setMagazineTurretAmmo"], + ["function", "setMarkerAlpha"], + ["function", "setMarkerAlphaLocal"], + ["function", "setMarkerBrush"], + ["function", "setMarkerBrushLocal"], + ["function", "setMarkerColor"], + ["function", "setMarkerColorLocal"], + ["function", "setMarkerDir"], + ["function", "setMarkerDirLocal"], + ["function", "setMarkerPos"], + ["function", "setMarkerPosLocal"], + ["function", "setMarkerShape"], + ["function", "setMarkerShapeLocal"], + ["function", "setMarkerSize"], + ["function", "setMarkerSizeLocal"], + ["function", "setMarkerText"], + ["function", "setMarkerTextLocal"], + ["function", "setMarkerType"], + ["function", "setMarkerTypeLocal"], + ["function", "setMass"], + ["function", "setMimic"], + ["function", "setMousePosition"], + ["function", "setMusicEffect"], + ["function", "setMusicEventHandler"], + ["function", "setName"], + ["function", "setNameSound"], + ["function", "setObjectArguments"], + ["function", "setObjectMaterial"], + ["function", "setObjectMaterialGlobal"], + ["function", "setObjectProxy"], + ["function", "setObjectTexture"], + ["function", "setObjectTextureGlobal"], + ["function", "setObjectViewDistance"], + ["function", "setOvercast"], + ["function", "setOwner"], + ["function", "setOxygenRemaining"], + ["function", "setParticleCircle"], + ["function", "setParticleClass"], + ["function", "setParticleFire"], + ["function", "setParticleParams"], + ["function", "setParticleRandom"], + ["function", "setPilotCameraDirection"], + ["function", "setPilotCameraRotation"], + ["function", "setPilotCameraTarget"], + ["function", "setPilotLight"], + ["function", "setPiPEffect"], + ["function", "setPitch"], + ["function", "setPlateNumber"], + ["function", "setPlayable"], + ["function", "setPlayerRespawnTime"], + ["function", "setPos"], + ["function", "setPosASL"], + ["function", "setPosASL2"], + ["function", "setPosASLW"], + ["function", "setPosATL"], + ["function", "setPosition"], + ["function", "setPosWorld"], + ["function", "setPylonLoadOut"], + ["function", "setPylonsPriority"], + ["function", "setRadioMsg"], + ["function", "setRain"], + ["function", "setRainbow"], + ["function", "setRandomLip"], + ["function", "setRank"], + ["function", "setRectangular"], + ["function", "setRepairCargo"], + ["function", "setRotorBrakeRTD"], + ["function", "setShadowDistance"], + ["function", "setShotParents"], + ["function", "setSide"], + ["function", "setSimpleTaskAlwaysVisible"], + ["function", "setSimpleTaskCustomData"], + ["function", "setSimpleTaskDescription"], + ["function", "setSimpleTaskDestination"], + ["function", "setSimpleTaskTarget"], + ["function", "setSimpleTaskType"], + ["function", "setSimulWeatherLayers"], + ["function", "setSize"], + ["function", "setSkill"], + ["function", "setSlingLoad"], + ["function", "setSoundEffect"], + ["function", "setSpeaker"], + ["function", "setSpeech"], + ["function", "setSpeedMode"], + ["function", "setStamina"], + ["function", "setStaminaScheme"], + ["function", "setStatValue"], + ["function", "setSuppression"], + ["function", "setSystemOfUnits"], + ["function", "setTargetAge"], + ["function", "setTaskMarkerOffset"], + ["function", "setTaskResult"], + ["function", "setTaskState"], + ["function", "setTerrainGrid"], + ["function", "setText"], + ["function", "setTimeMultiplier"], + ["function", "setTitleEffect"], + ["function", "setToneMapping"], + ["function", "setToneMappingParams"], + ["function", "setTrafficDensity"], + ["function", "setTrafficDistance"], + ["function", "setTrafficGap"], + ["function", "setTrafficSpeed"], + ["function", "setTriggerActivation"], + ["function", "setTriggerArea"], + ["function", "setTriggerStatements"], + ["function", "setTriggerText"], + ["function", "setTriggerTimeout"], + ["function", "setTriggerType"], + ["function", "setType"], + ["function", "setUnconscious"], + ["function", "setUnitAbility"], + ["function", "setUnitLoadout"], + ["function", "setUnitPos"], + ["function", "setUnitPosWeak"], + ["function", "setUnitRank"], + ["function", "setUnitRecoilCoefficient"], + ["function", "setUnitTrait"], + ["function", "setUnloadInCombat"], + ["function", "setUserActionText"], + ["function", "setUserMFDText"], + ["function", "setUserMFDValue"], + ["function", "setVariable"], + ["function", "setVectorDir"], + ["function", "setVectorDirAndUp"], + ["function", "setVectorUp"], + ["function", "setVehicleAmmo"], + ["function", "setVehicleAmmoDef"], + ["function", "setVehicleArmor"], + ["function", "setVehicleCargo"], + ["function", "setVehicleId"], + ["function", "setVehicleInit"], + ["function", "setVehicleLock"], + ["function", "setVehiclePosition"], + ["function", "setVehicleRadar"], + ["function", "setVehicleReceiveRemoteTargets"], + ["function", "setVehicleReportOwnPosition"], + ["function", "setVehicleReportRemoteTargets"], + ["function", "setVehicleTIPars"], + ["function", "setVehicleVarName"], + ["function", "setVelocity"], + ["function", "setVelocityModelSpace"], + ["function", "setVelocityTransformation"], + ["function", "setViewDistance"], + ["function", "setVisibleIfTreeCollapsed"], + ["function", "setWantedRpmRTD"], + ["function", "setWaves"], + ["function", "setWaypointBehaviour"], + ["function", "setWaypointCombatMode"], + ["function", "setWaypointCompletionRadius"], + ["function", "setWaypointDescription"], + ["function", "setWaypointForceBehaviour"], + ["function", "setWaypointFormation"], + ["function", "setWaypointHousePosition"], + ["function", "setWaypointLoiterRadius"], + ["function", "setWaypointLoiterType"], + ["function", "setWaypointName"], + ["function", "setWaypointPosition"], + ["function", "setWaypointScript"], + ["function", "setWaypointSpeed"], + ["function", "setWaypointStatements"], + ["function", "setWaypointTimeout"], + ["function", "setWaypointType"], + ["function", "setWaypointVisible"], + ["function", "setWeaponReloadingTime"], + ["function", "setWind"], + ["function", "setWindDir"], + ["function", "setWindForce"], + ["function", "setWindStr"], + ["function", "setWingForceScaleRTD"], + ["function", "setWPPos"], + ["function", "show3DIcons"], + ["function", "showChat"], + ["function", "showCinemaBorder"], + ["function", "showCommandingMenu"], + ["function", "showCompass"], + ["function", "showCuratorCompass"], + ["function", "showGPS"], + ["function", "showHUD"], + ["function", "showLegend"], + ["function", "showMap"], + ["function", "shownArtilleryComputer"], + ["function", "shownChat"], + ["function", "shownCompass"], + ["function", "shownCuratorCompass"], + ["function", "showNewEditorObject"], + ["function", "shownGPS"], + ["function", "shownHUD"], + ["function", "shownMap"], + ["function", "shownPad"], + ["function", "shownRadio"], + ["function", "shownScoretable"], + ["function", "shownUAVFeed"], + ["function", "shownWarrant"], + ["function", "shownWatch"], + ["function", "showPad"], + ["function", "showRadio"], + ["function", "showScoretable"], + ["function", "showSubtitles"], + ["function", "showUAVFeed"], + ["function", "showWarrant"], + ["function", "showWatch"], + ["function", "showWaypoint"], + ["function", "showWaypoints"], + ["function", "side"], + ["function", "sideAmbientLife"], + ["function", "sideChat"], + ["function", "sideEmpty"], + ["function", "sideEnemy"], + ["function", "sideFriendly"], + ["function", "sideLogic"], + ["function", "sideRadio"], + ["function", "sideUnknown"], + ["function", "simpleTasks"], + ["function", "simulationEnabled"], + ["function", "simulCloudDensity"], + ["function", "simulCloudOcclusion"], + ["function", "simulInClouds"], + ["function", "simulWeatherSync"], + ["function", "sin"], + ["function", "size"], + ["function", "sizeOf"], + ["function", "skill"], + ["function", "skillFinal"], + ["function", "skipTime"], + ["function", "sleep"], + ["function", "sliderPosition"], + ["function", "sliderRange"], + ["function", "sliderSetPosition"], + ["function", "sliderSetRange"], + ["function", "sliderSetSpeed"], + ["function", "sliderSpeed"], + ["function", "slingLoadAssistantShown"], + ["function", "soldierMagazines"], + ["function", "someAmmo"], + ["function", "sort"], + ["function", "soundVolume"], + ["function", "speaker"], + ["function", "speed"], + ["function", "speedMode"], + ["function", "splitString"], + ["function", "sqrt"], + ["function", "squadParams"], + ["function", "stance"], + ["function", "startLoadingScreen"], + ["function", "stop"], + ["function", "stopEngineRTD"], + ["function", "stopped"], + ["function", "str"], + ["function", "sunOrMoon"], + ["function", "supportInfo"], + ["function", "suppressFor"], + ["function", "surfaceIsWater"], + ["function", "surfaceNormal"], + ["function", "surfaceType"], + ["function", "swimInDepth"], + ["function", "switchableUnits"], + ["function", "switchAction"], + ["function", "switchCamera"], + ["function", "switchGesture"], + ["function", "switchLight"], + ["function", "switchMove"], + ["function", "synchronizedObjects"], + ["function", "synchronizedTriggers"], + ["function", "synchronizedWaypoints"], + ["function", "synchronizeObjectsAdd"], + ["function", "synchronizeObjectsRemove"], + ["function", "synchronizeTrigger"], + ["function", "synchronizeWaypoint"], + ["function", "systemChat"], + ["function", "systemOfUnits"], + ["function", "tan"], + ["function", "targetKnowledge"], + ["function", "targets"], + ["function", "targetsAggregate"], + ["function", "targetsQuery"], + ["function", "taskAlwaysVisible"], + ["function", "taskChildren"], + ["function", "taskCompleted"], + ["function", "taskCustomData"], + ["function", "taskDescription"], + ["function", "taskDestination"], + ["function", "taskHint"], + ["function", "taskMarkerOffset"], + ["function", "taskNull"], + ["function", "taskParent"], + ["function", "taskResult"], + ["function", "taskState"], + ["function", "taskType"], + ["function", "teamMember"], + ["function", "teamMemberNull"], + ["function", "teamName"], + ["function", "teams"], + ["function", "teamSwitch"], + ["function", "teamSwitchEnabled"], + ["function", "teamType"], + ["function", "terminate"], + ["function", "terrainIntersect"], + ["function", "terrainIntersectASL"], + ["function", "terrainIntersectAtASL"], + ["function", "text"], + ["function", "textLog"], + ["function", "textLogFormat"], + ["function", "tg"], + ["function", "time"], + ["function", "timeMultiplier"], + ["function", "titleCut"], + ["function", "titleFadeOut"], + ["function", "titleObj"], + ["function", "titleRsc"], + ["function", "titleText"], + ["function", "toArray"], + ["function", "toFixed"], + ["function", "toLower"], + ["function", "toString"], + ["function", "toUpper"], + ["function", "triggerActivated"], + ["function", "triggerActivation"], + ["function", "triggerArea"], + ["function", "triggerAttachedVehicle"], + ["function", "triggerAttachObject"], + ["function", "triggerAttachVehicle"], + ["function", "triggerDynamicSimulation"], + ["function", "triggerStatements"], + ["function", "triggerText"], + ["function", "triggerTimeout"], + ["function", "triggerTimeoutCurrent"], + ["function", "triggerType"], + ["function", "turretLocal"], + ["function", "turretOwner"], + ["function", "turretUnit"], + ["function", "tvAdd"], + ["function", "tvClear"], + ["function", "tvCollapse"], + ["function", "tvCollapseAll"], + ["function", "tvCount"], + ["function", "tvCurSel"], + ["function", "tvData"], + ["function", "tvDelete"], + ["function", "tvExpand"], + ["function", "tvExpandAll"], + ["function", "tvPicture"], + ["function", "tvPictureRight"], + ["function", "tvSetColor"], + ["function", "tvSetCurSel"], + ["function", "tvSetData"], + ["function", "tvSetPicture"], + ["function", "tvSetPictureColor"], + ["function", "tvSetPictureColorDisabled"], + ["function", "tvSetPictureColorSelected"], + ["function", "tvSetPictureRight"], + ["function", "tvSetPictureRightColor"], + ["function", "tvSetPictureRightColorDisabled"], + ["function", "tvSetPictureRightColorSelected"], + ["function", "tvSetSelectColor"], + ["function", "tvSetText"], + ["function", "tvSetTooltip"], + ["function", "tvSetValue"], + ["function", "tvSort"], + ["function", "tvSortByValue"], + ["function", "tvText"], + ["function", "tvTooltip"], + ["function", "tvValue"], + ["function", "type"], + ["function", "typeName"], + ["function", "typeOf"], + ["function", "UAVControl"], + ["function", "uiNamespace"], + ["function", "uiSleep"], + ["function", "unassignCurator"], + ["function", "unassignItem"], + ["function", "unassignTeam"], + ["function", "unassignVehicle"], + ["function", "underwater"], + ["function", "uniform"], + ["function", "uniformContainer"], + ["function", "uniformItems"], + ["function", "uniformMagazines"], + ["function", "unitAddons"], + ["function", "unitAimPosition"], + ["function", "unitAimPositionVisual"], + ["function", "unitBackpack"], + ["function", "unitIsUAV"], + ["function", "unitPos"], + ["function", "unitReady"], + ["function", "unitRecoilCoefficient"], + ["function", "units"], + ["function", "unitsBelowHeight"], + ["function", "unlinkItem"], + ["function", "unlockAchievement"], + ["function", "unregisterTask"], + ["function", "updateDrawIcon"], + ["function", "updateMenuItem"], + ["function", "updateObjectTree"], + ["function", "useAIOperMapObstructionTest"], + ["function", "useAISteeringComponent"], + ["function", "useAudioTimeForMoves"], + ["function", "userInputDisabled"], + ["function", "vectorAdd"], + ["function", "vectorCos"], + ["function", "vectorCrossProduct"], + ["function", "vectorDiff"], + ["function", "vectorDir"], + ["function", "vectorDirVisual"], + ["function", "vectorDistance"], + ["function", "vectorDistanceSqr"], + ["function", "vectorDotProduct"], + ["function", "vectorFromTo"], + ["function", "vectorMagnitude"], + ["function", "vectorMagnitudeSqr"], + ["function", "vectorModelToWorld"], + ["function", "vectorModelToWorldVisual"], + ["function", "vectorMultiply"], + ["function", "vectorNormalized"], + ["function", "vectorUp"], + ["function", "vectorUpVisual"], + ["function", "vectorWorldToModel"], + ["function", "vectorWorldToModelVisual"], + ["function", "vehicle"], + ["function", "vehicleCargoEnabled"], + ["function", "vehicleChat"], + ["function", "vehicleRadio"], + ["function", "vehicleReceiveRemoteTargets"], + ["function", "vehicleReportOwnPosition"], + ["function", "vehicleReportRemoteTargets"], + ["function", "vehicles"], + ["function", "vehicleVarName"], + ["function", "velocity"], + ["function", "velocityModelSpace"], + ["function", "verifySignature"], + ["function", "vest"], + ["function", "vestContainer"], + ["function", "vestItems"], + ["function", "vestMagazines"], + ["function", "viewDistance"], + ["function", "visibleCompass"], + ["function", "visibleGPS"], + ["function", "visibleMap"], + ["function", "visiblePosition"], + ["function", "visiblePositionASL"], + ["function", "visibleScoretable"], + ["function", "visibleWatch"], + ["function", "waitUntil"], + ["function", "waves"], + ["function", "waypointAttachedObject"], + ["function", "waypointAttachedVehicle"], + ["function", "waypointAttachObject"], + ["function", "waypointAttachVehicle"], + ["function", "waypointBehaviour"], + ["function", "waypointCombatMode"], + ["function", "waypointCompletionRadius"], + ["function", "waypointDescription"], + ["function", "waypointForceBehaviour"], + ["function", "waypointFormation"], + ["function", "waypointHousePosition"], + ["function", "waypointLoiterRadius"], + ["function", "waypointLoiterType"], + ["function", "waypointName"], + ["function", "waypointPosition"], + ["function", "waypoints"], + ["function", "waypointScript"], + ["function", "waypointsEnabledUAV"], + ["function", "waypointShow"], + ["function", "waypointSpeed"], + ["function", "waypointStatements"], + ["function", "waypointTimeout"], + ["function", "waypointTimeoutCurrent"], + ["function", "waypointType"], + ["function", "waypointVisible"], + ["function", "weaponAccessories"], + ["function", "weaponAccessoriesCargo"], + ["function", "weaponCargo"], + ["function", "weaponDirection"], + ["function", "weaponInertia"], + ["function", "weaponLowered"], + ["function", "weapons"], + ["function", "weaponsItems"], + ["function", "weaponsItemsCargo"], + ["function", "weaponState"], + ["function", "weaponsTurret"], + ["function", "weightRTD"], + ["function", "west"], + ["function", "WFSideText"], + ["function", "wind"], + ["function", "windDir"], + ["function", "windRTD"], + ["function", "windStr"], + ["function", "wingsForcesRTD"], + ["function", "worldName"], + ["function", "worldSize"], + ["function", "worldToModel"], + ["function", "worldToModelVisual"], + ["function", "worldToScreen"] +] diff --git a/tests/languages/sql+sas/sql_inclusion.test b/tests/languages/sql+sas/sql_inclusion.test index 4b4bd553c1..4aca904d09 100644 --- a/tests/languages/sql+sas/sql_inclusion.test +++ b/tests/languages/sql+sas/sql_inclusion.test @@ -38,193 +38,234 @@ proc sql; select * form proclib.jobs(pw=red); title +proc sql; + connect to oracle as ora2 (user=user-id password=password); + select * from connection to ora2 (select lname, fname, state from staff); + disconnect from ora2; +quit; + ---------------------------------------------------- [ ["step", "proc sql"], ["punctuation", ";"], - ["proc-sql", - [ - ["sql", - [ - ["keyword", "select"], - ["operator", "*"], - ["keyword", "from"], - " proclib", - ["punctuation", "."], - "paylist", - ["punctuation", ";"] - ] - ] - ] - ], + ["proc-sql", [ + ["sql", [ + ["keyword", "select"], + ["operator", "*"], + + ["keyword", "from"], + " proclib", + ["punctuation", "."], + "paylist", + ["punctuation", ";"] + ]] + ]], ["step", "proc print"], ["punctuation", ";"], + ["step", "proc sql"], - ["proc-args", - [ - ["arg", "outobs"], - ["operator", "="], - ["number", "10"], - ["punctuation", ";"] - ] - ], - ["proc-sql", - [ - ["global-statements", "title"], - ["string", "'Proclib.Payroll'"], - ["punctuation", ";"], - ["sql", - [ - ["keyword", "select"], - ["operator", "*"], - ["keyword", "from"], - " proclib", - ["punctuation", "."], - "payroll", - ["punctuation", ";"] - ] - ], - ["global-statements", "title"], + ["proc-args", [ + ["arg", "outobs"], + ["operator", "="], + ["number", "10"], + ["punctuation", ";"] + ]], + ["proc-sql", [ + ["global-statements", "title"], + ["string", "'Proclib.Payroll'"], + ["punctuation", ";"], + + ["sql", [ + ["keyword", "select"], + ["operator", "*"], + ["keyword", "from"], + " proclib", + ["punctuation", "."], + "payroll", ["punctuation", ";"] - ] - ], + ]], + + ["global-statements", "title"], + ["punctuation", ";"] + ]], ["step", "quit"], ["punctuation", ";"], + ["step", "proc sql"], ["punctuation", ";"], - ["proc-sql", - [ - ["sql", - [ - ["keyword", "select"], - " BookingDate", - ["punctuation", ","], - "\r\n\tReleaseDate", - ["punctuation", ","], - "\r\n\tReleaseCode\r\n\t", - ["keyword", "from"], - " SASclass", - ["punctuation", "."], - "Bookings", - ["punctuation", ";"] - ] - ] - ] - ], + ["proc-sql", [ + ["sql", [ + ["keyword", "select"], + " BookingDate", + ["punctuation", ","], + + "\r\n\tReleaseDate", + ["punctuation", ","], + + "\r\n\tReleaseCode\r\n\t", + + ["keyword", "from"], + " SASclass", + ["punctuation", "."], + "Bookings", + ["punctuation", ";"] + ]] + ]], ["step", "quit"], ["punctuation", ";"], + ["step", "proc sql"], ["punctuation", ";"], - ["proc-sql", - [ - ["sql", - [ - ["keyword", "select"], - " BookingDate", - ["punctuation", ","], - "\r\n\tReleaseDate", - ["punctuation", ","], - "\r\n\tReleaseCode\r\n\t", - ["keyword", "from"], - " SASclass", - ["punctuation", "."], - "Bookings", - ["punctuation", ";"] - ] - ] - ] - ], + ["proc-sql", [ + ["sql", [ + ["keyword", "select"], + " BookingDate", + ["punctuation", ","], + + "\r\n\tReleaseDate", + ["punctuation", ","], + + "\r\n\tReleaseCode\r\n\t", + + ["keyword", "from"], + " SASclass", + ["punctuation", "."], + "Bookings", + ["punctuation", ";"] + ]] + ]], ["step", "quit"], ["punctuation", ";"], + ["keyword", "libname"], " proclib ", ["string", "'SAS-library'"], ["punctuation", ";"], + + ["step", "proc sql"], + ["punctuation", ";"], + ["proc-sql", [ + ["sql", [ + ["keyword", "create"], + ["keyword", "view"], + " proclib", + ["punctuation", "."], + "jobs", + ["punctuation", "("], + "pw", + ["operator", "-"], + "red", + ["punctuation", ")"], + ["keyword", "as"], + + ["keyword", "select"], + " Jobcode", + ["punctuation", ","], + + ["function", "count"], + ["punctuation", "("], + "jobcode", + ["punctuation", ")"], + ["keyword", "as"], + " number label", + ["operator", "="], + ["string", "'Number'"], + ["punctuation", ","], + + ["function", "avg"], + ["punctuation", "("], + ["keyword", "int"], + ["punctuation", "("], + "today", + ["punctuation", "("], + ["punctuation", ")"], + ["operator", "-"], + "birth", + ["operator", "/"], + ["number", "365.25"], + ["punctuation", ")"], + ["punctuation", ")"], + ["keyword", "as"], + " avgage\r\n\t\t\tformat", + ["operator", "="], + ["number", "2."], + " label", + ["operator", "="], + ["string", "'Average Salary'"], + + ["keyword", "from"], + " Payroll\r\n\t", + + ["keyword", "group"], + ["keyword", "by"], + " Jobcode\r\n\t", + + ["keyword", "having"], + " avage ge ", + ["number", "30"], + ["punctuation", ";"] + ]], + + ["global-statements", "title1"], + ["string", "'Current Summary Information for Each Job category'"], + ["punctuation", ";"], + + ["global-statements", "title2"], + ["string", "'Average Age Greater Than or Equal to 30'"], + ["punctuation", ";"], + + ["sql", [ + ["keyword", "select"], + ["operator", "*"], + " form proclib", + ["punctuation", "."], + "jobs", + ["punctuation", "("], + "pw", + ["operator", "="], + "red", + ["punctuation", ")"], + ["punctuation", ";"] + ]], + + ["global-statements", "title"] + ]], ["step", "proc sql"], ["punctuation", ";"], - ["proc-sql", - [ - ["sql", - [ - ["keyword", "create"], - ["keyword", "view"], - " proclib", - ["punctuation", "."], - "jobs", - ["punctuation", "("], - "pw", - ["operator", "-"], - "red", - ["punctuation", ")"], - ["keyword", "as"], - ["keyword", "select"], - " Jobcode", - ["punctuation", ","], - ["function", "count"], - ["punctuation", "("], - "jobcode", - ["punctuation", ")"], - ["keyword", "as"], - " number label", - ["operator", "="], - ["string", "'Number'"], - ["punctuation", ","], - ["function", "avg"], - ["punctuation", "("], - ["keyword", "int"], - ["punctuation", "("], - "today", - ["punctuation", "("], - ["punctuation", ")"], - ["operator", "-"], - "birth", - ["operator", "/"], - ["number", "365.25"], - ["punctuation", ")"], - ["punctuation", ")"], - ["keyword", "as"], - " avgage\r\n\t\t\tformat", - ["operator", "="], - ["number", "2."], - " label", - ["operator", "="], - ["string", "'Average Salary'"], - ["keyword", "from"], - " Payroll\r\n\t", - ["keyword", "group"], - ["keyword", "by"], - " Jobcode\r\n\t", - ["keyword", "having"], - " avage ge ", - ["number", "30"], - ["punctuation", ";"] - ] - ], - ["global-statements", "title1"], - ["string", "'Current Summary Information for Each Job category'"], - ["punctuation", ";"], - ["global-statements", "title2"], - ["string", "'Average Age Greater Than or Equal to 30'"], - ["punctuation", ";"], - ["sql", - [ - ["keyword", "select"], - ["operator", "*"], - " form proclib", - ["punctuation", "."], - "jobs", - ["punctuation", "("], - "pw", - ["operator", "="], - "red", - ["punctuation", ")"], - ["punctuation", ";"] - ] - ], - ["global-statements", "title"] - ] - ] + ["proc-sql", [ + "\r\n\tconnect to oracle as ora2 ", + ["punctuation", "("], + "user=user-id password=password", + ["punctuation", ")"], + ["punctuation", ";"], + + ["sql", [ + ["keyword", "select"], + ["operator", "*"], + ["keyword", "from"], + " connection ", + ["keyword", "to"], + " ora2 ", + ["punctuation", "("], + ["keyword", "select"], + " lname", + ["punctuation", ","], + " fname", + ["punctuation", ","], + " state ", + ["keyword", "from"], + " staff", + ["punctuation", ")"], + ["punctuation", ";"] + ]], + + ["sql-statements", "disconnect from"], + " ora2", + ["punctuation", ";"] + ]], + ["step", "quit"], + ["punctuation", ";"] ] ---------------------------------------------------- diff --git a/tests/languages/stan/function-arg_feature.test b/tests/languages/stan/function-arg_feature.test new file mode 100644 index 0000000000..5ddf974c69 --- /dev/null +++ b/tests/languages/stan/function-arg_feature.test @@ -0,0 +1,21 @@ +y = algebra_solver(system, y_guess, theta, x_r, x_i); + +---------------------------------------------------- + +[ + "y ", + ["operator", "="], + ["keyword", "algebra_solver"], + ["punctuation", "("], + ["function-arg", "system"], + ["punctuation", ","], + " y_guess", + ["punctuation", ","], + " theta", + ["punctuation", ","], + " x_r", + ["punctuation", ","], + " x_i", + ["punctuation", ")"], + ["punctuation", ";"] +] diff --git a/tests/languages/tap/subtest_feature.test b/tests/languages/tap/subtest_feature.test new file mode 100644 index 0000000000..14b1339a48 --- /dev/null +++ b/tests/languages/tap/subtest_feature.test @@ -0,0 +1,7 @@ +# Subtest + +---------------------------------------------------- + +[ + ["subtest", "# Subtest"] +] diff --git a/tests/languages/tcl/punctuation_feature.test b/tests/languages/tcl/punctuation_feature.test new file mode 100644 index 0000000000..62fc1d096a --- /dev/null +++ b/tests/languages/tcl/punctuation_feature.test @@ -0,0 +1,12 @@ +{ } ( ) [ ] + +---------------------------------------------------- + +[ + ["punctuation", "{"], + ["punctuation", "}"], + ["punctuation", "("], + ["punctuation", ")"], + ["punctuation", "["], + ["punctuation", "]"] +] diff --git a/tests/languages/textile+haml/textile_inclusion.test b/tests/languages/textile+haml/textile_inclusion.test new file mode 100644 index 0000000000..c6474027ef --- /dev/null +++ b/tests/languages/textile+haml/textile_inclusion.test @@ -0,0 +1,50 @@ +:textile +
+ +~ + :textile +
+ +---------------------------------------------------- + +[ + ["filter-textile", [ + ["filter-name", ":textile"], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["punctuation", ">"] + ]], + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]] + ]], + + ["punctuation", "~"], + + ["filter-textile", [ + ["filter-name", ":textile"], + + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "div" + ]], + ["punctuation", ">"] + ]], + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]] + ]] +] diff --git a/tests/languages/textile/tag_feature.test b/tests/languages/textile/tag_feature.test new file mode 100644 index 0000000000..18aadbe19d --- /dev/null +++ b/tests/languages/textile/tag_feature.test @@ -0,0 +1,20 @@ +
+ +---------------------------------------------------- + +[ + ["tag", [ + ["tag", [ + ["punctuation", "<"], + "details" + ]], + ["punctuation", ">"] + ]], + ["tag", [ + ["tag", [ + ["punctuation", ""] + ]] +] diff --git a/tests/languages/unrealscript/category_feature.test b/tests/languages/unrealscript/category_feature.test new file mode 100644 index 0000000000..dd215ce82b --- /dev/null +++ b/tests/languages/unrealscript/category_feature.test @@ -0,0 +1,52 @@ +// MyBool is visible but not editable in UnrealEd +var(MyCategory) editconst bool MyBool; + +// MyBool is visible but not editable in UnrealEd and +// not changeable in script +var(MyCategory) const editconst bool MyBool; + +// MyBool is visible and can be set in UnrealEd but +// not changeable in script +var(MyCategory) const bool MyBool; + +---------------------------------------------------- + +[ + ["comment", "// MyBool is visible but not editable in UnrealEd"], + + ["keyword", "var"], + ["punctuation", "("], + ["category", "MyCategory"], + ["punctuation", ")"], + ["keyword", "editconst"], + ["keyword", "bool"], + " MyBool", + ["punctuation", ";"], + + ["comment", "// MyBool is visible but not editable in UnrealEd and"], + + ["comment", "// not changeable in script"], + + ["keyword", "var"], + ["punctuation", "("], + ["category", "MyCategory"], + ["punctuation", ")"], + ["keyword", "const"], + ["keyword", "editconst"], + ["keyword", "bool"], + " MyBool", + ["punctuation", ";"], + + ["comment", "// MyBool is visible and can be set in UnrealEd but"], + + ["comment", "// not changeable in script"], + + ["keyword", "var"], + ["punctuation", "("], + ["category", "MyCategory"], + ["punctuation", ")"], + ["keyword", "const"], + ["keyword", "bool"], + " MyBool", + ["punctuation", ";"] +] diff --git a/tests/languages/v/attribute_feature.test b/tests/languages/v/attribute_feature.test new file mode 100644 index 0000000000..877e2b8664 --- /dev/null +++ b/tests/languages/v/attribute_feature.test @@ -0,0 +1,59 @@ +[deprecated] +[unsafe_fn] +[typedef] +[live] +[inline] +[flag] +[ref_only] +[windows_stdcall] +[direct_array_access] + +---------------------------------------------------- + +[ + ["attribute", [ + ["punctuation", "["], + ["keyword", "deprecated"], + ["punctuation", "]"] + ]], + ["attribute", [ + ["punctuation", "["], + ["keyword", "unsafe_fn"], + ["punctuation", "]"] + ]], + ["attribute", [ + ["punctuation", "["], + ["keyword", "typedef"], + ["punctuation", "]"] + ]], + ["attribute", [ + ["punctuation", "["], + ["keyword", "live"], + ["punctuation", "]"] + ]], + ["attribute", [ + ["punctuation", "["], + ["keyword", "inline"], + ["punctuation", "]"] + ]], + ["attribute", [ + ["punctuation", "["], + ["keyword", "flag"], + ["punctuation", "]"] + ]], + ["attribute", [ + ["punctuation", "["], + ["keyword", "ref_only"], + ["punctuation", "]"] + ]], + ["attribute", [ + ["punctuation", "["], + ["keyword", "windows_stdcall"], + ["punctuation", "]"] + ]], + ["attribute", [ + ["punctuation", "["], + ["keyword", "direct_array_access"], + ["punctuation", "]"] + ]] +] diff --git a/tests/languages/vala/constant_feature.test b/tests/languages/vala/constant_feature.test new file mode 100644 index 0000000000..49adc66704 --- /dev/null +++ b/tests/languages/vala/constant_feature.test @@ -0,0 +1,7 @@ +FOO + +---------------------------------------------------- + +[ + ["constant", "FOO"] +] diff --git a/tests/languages/vala/regex_feature.test b/tests/languages/vala/regex_feature.test new file mode 100644 index 0000000000..6f77366e3f --- /dev/null +++ b/tests/languages/vala/regex_feature.test @@ -0,0 +1,11 @@ +/(\d+\.\d+\.\d+)/ + +---------------------------------------------------- + +[ + ["regex", [ + ["regex-delimiter", "/"], + ["regex-source", "(\\d+\\.\\d+\\.\\d+)"], + ["regex-delimiter", "/"] + ]] +] diff --git a/tests/languages/warpscript/keyword_feature.test b/tests/languages/warpscript/keyword_feature.test new file mode 100644 index 0000000000..fb1531b3f4 --- /dev/null +++ b/tests/languages/warpscript/keyword_feature.test @@ -0,0 +1,49 @@ +BREAK +CHECKMACRO +CONTINUE +CUDF +DEFINED +DEFINEDMACRO +EVAL +FAIL +FOR +FOREACH +FORSTEP +IFT +IFTE +MSGFAIL +NRETURN +RETHROW +RETURN +SWITCH +TRY +UDF +UNTIL +WHILE + +---------------------------------------------------- + +[ + ["keyword", "BREAK"], + ["keyword", "CHECKMACRO"], + ["keyword", "CONTINUE"], + ["keyword", "CUDF"], + ["keyword", "DEFINED"], + ["keyword", "DEFINEDMACRO"], + ["keyword", "EVAL"], + ["keyword", "FAIL"], + ["keyword", "FOR"], + ["keyword", "FOREACH"], + ["keyword", "FORSTEP"], + ["keyword", "IFT"], + ["keyword", "IFTE"], + ["keyword", "MSGFAIL"], + ["keyword", "NRETURN"], + ["keyword", "RETHROW"], + ["keyword", "RETURN"], + ["keyword", "SWITCH"], + ["keyword", "TRY"], + ["keyword", "UDF"], + ["keyword", "UNTIL"], + ["keyword", "WHILE"] +] diff --git a/tests/languages/warpscript/macro_feature.test b/tests/languages/warpscript/macro_feature.test new file mode 100644 index 0000000000..72b8c76096 --- /dev/null +++ b/tests/languages/warpscript/macro_feature.test @@ -0,0 +1,7 @@ +@foo + +---------------------------------------------------- + +[ + ["macro", "@foo"] +] diff --git a/tests/languages/warpscript/variable_feature.test b/tests/languages/warpscript/variable_feature.test new file mode 100644 index 0000000000..fbb7a4110d --- /dev/null +++ b/tests/languages/warpscript/variable_feature.test @@ -0,0 +1,7 @@ +$foo + +---------------------------------------------------- + +[ + ["variable", "$foo"] +] diff --git a/tests/languages/xojo/punctuation_feature.test b/tests/languages/xojo/punctuation_feature.test new file mode 100644 index 0000000000..29e203e997 --- /dev/null +++ b/tests/languages/xojo/punctuation_feature.test @@ -0,0 +1,12 @@ +. , ; : ( ) + +---------------------------------------------------- + +[ + ["punctuation", "."], + ["punctuation", ","], + ["punctuation", ";"], + ["punctuation", ":"], + ["punctuation", "("], + ["punctuation", ")"] +]