function __construct()
 {
     if (self::$c_reserved === null) {
         self::$c_reserved = array("addpath" => true, "doc" => true, "docopt" => true, "genpath" => true, "help" => true, "helpbrowser" => true, "helpdesk" => true, "helpwin" => true, "lasterr" => true, "lastwarn" => true, "license" => true, "lookfor" => true, "partialpath" => true, "path" => true, "pathtool" => true, "profile" => true, "profreport" => true, "rehash" => true, "rmpath" => true, "support" => true, "type" => true, "ver" => true, "version" => true, "web" => true, "what" => true, "whatsnew" => true, "which" => true, "clear" => true, "disp" => true, "length" => true, "load" => true, "memory" => true, "mlock" => true, "munlock" => true, "openvar" => true, "Open" => true, "pack" => true, "save" => true, "saveas" => true, "size" => true, "who" => true, "whos" => true, "workspace" => true, "finish" => true, "exit" => true, "matlab" => true, "matlabrc" => true, "quit" => true, "startup" => true, "builtin" => true, "eval" => true, "evalc" => true, "evalin" => true, "feval" => true, "function" => true, "global" => true, "nargchk" => true, "persistent" => true, "script" => true, "break" => true, "case" => true, "catch" => true, "continue" => true, "else" => true, "elseif" => true, "end" => true, "error" => true, "for" => true, "if" => true, "otherwise" => true, "return" => true, "switch" => true, "try" => true, "warning" => true, "while" => true, "input" => true, "keyboard" => true, "menu" => true, "pause" => true, "class" => true, "double" => true, "inferiorto" => true, "inline" => true, "int8" => true, "int16" => true, "int32" => true, "isa" => true, "loadobj" => true, "saveobj" => true, "single" => true, "superiorto" => true, "uint8" => true, "uint16" => true, "uint32" => true, "kron" => true, "xor" => true, "and" => true);
     }
     $this->reserved =& self::$c_reserved;
     parent::__construct();
 }
Пример #2
0
 function __construct()
 {
     if (self::$c_reserved === null) {
         self::$c_reserved = array('auto' => true, 'break' => true, 'case' => true, 'char' => true, 'const' => true, 'continue' => true, 'default' => true, 'do' => true, 'double' => true, 'else' => true, 'enum' => true, 'extern' => true, 'float' => true, 'for' => true, 'goto' => true, 'if' => true, 'inline' => true, 'int' => true, 'long' => true, 'register' => true, 'restrict' => true, 'return' => true, 'short' => true, 'signed' => true, 'sizeof' => true, 'static' => true, 'struct' => true, 'switch' => true, 'typedef' => true, 'union' => true, 'unsigned' => true, 'void' => true, 'volatile' => true, 'while' => true, '_Bool' => true, '_Complex' => true, '_Imaginary' => true);
     }
     $this->reserved =& self::$c_reserved;
     parent::__construct();
 }
Пример #3
0
 function __construct()
 {
     if (self::$c_reserved === null) {
         self::$c_reserved = array('abstract' => true, 'case' => true, 'catch' => true, 'class' => true, 'def' => true, 'do' => true, 'else' => true, 'extends' => true, 'false' => true, 'final' => true, 'finally' => true, 'for' => true, 'forSome' => true, 'if' => true, 'implicit' => true, 'import' => true, 'lazy' => true, 'match' => true, 'new' => true, 'null' => true, 'object' => true, 'override' => true, 'package' => true, 'private' => true, 'protected' => true, 'return' => true, 'sealed' => true, 'super' => true, 'this' => true, 'throw' => true, 'trait' => true, 'try' => true, 'true' => true, 'type' => true, 'val' => true, 'var' => true, 'while' => true, 'with' => true, 'yield' => true, 'Byte' => true, 'Short' => true, 'Char' => true, 'Int' => true, 'Long' => true, 'Float' => true, 'Double' => true, 'Boolean' => true, 'Unit' => true, 'String' => true);
     }
     $this->reserved =& self::$c_reserved;
     parent::__construct();
 }
Пример #4
0
 function __construct()
 {
     if (self::$ada_reserved === null) {
         self::$ada_reserved = array('abort' => true, 'else' => true, 'new' => true, 'return' => true, 'abs' => true, 'elsif' => true, 'not' => true, 'reverse' => true, 'abstract' => true, 'end' => true, 'null' => true, 'accept' => true, 'entry' => true, 'select' => true, 'access' => true, 'exception' => true, 'of' => true, 'separate' => true, 'aliased' => true, 'exit' => true, 'or' => true, 'subtype' => true, 'all' => true, 'others' => true, 'synchronized' => true, 'and' => true, 'for' => true, 'out' => true, 'array' => true, 'function' => true, 'overriding' => true, 'tagged' => true, 'at' => true, 'task' => true, 'generic' => true, 'package' => true, 'terminate' => true, 'begin' => true, 'goto' => true, 'pragma' => true, 'then' => true, 'body' => true, 'private' => true, 'type' => true, 'if' => true, 'procedure' => true, 'case' => true, 'in' => true, 'protected' => true, 'until' => true, 'constant' => true, 'interface' => true, 'use' => true, 'is' => true, 'raise' => true, 'declare' => true, 'range' => true, 'when' => true, 'delay' => true, 'limited' => true, 'record' => true, 'while' => true, 'delta' => true, 'loop' => true, 'rem' => true, 'with' => true, 'digits' => true, 'renames' => true, 'do' => true, 'mod' => true, 'requeue' => true, 'xor' => true);
         self::$operators = array('abs' => true, 'not' => true, 'in' => true, 'or' => true, 'and' => true, 'rem' => true, 'mod' => true, 'xor' => true, '&' => true, '\'' => true, '(' => true, ')' => true, '*' => true, '+' => true, ',' => true, '–' => true, '.' => true, '/' => true, ':' => true, ';' => true, '<' => true, '=' => true, '>' => true, '|' => true, '=>' => true, '..' => true, '**' => true, ':=' => true, '/=' => true, '>=' => true, '<=' => true, '<<' => true, '>>' => true, '<>' => true);
     }
     $this->reserved =& self::$ada_reserved;
     parent::__construct();
 }
 function __construct()
 {
     parent::__construct();
     //TODO need more reserved and functions
     $list = array('define', 'if', 'cond', 'else', 'let', 'eq?', 'eqv?', 'equal?', 'and', 'or', 'letrec', 'let-syntax', 'letrec-sintax', 'begin', 'do', 'quote', '+', '-', '*', '/', 'sqrt', 'eval', 'car', 'cdr', 'list', 'cons', 'null?', 'list?', '=', '<>', '<=', '>=', '<', '>', 'lambda', 'not');
     $this->reserved = array();
     foreach ($list as $word) {
         $this->reserved[$word] = 1;
     }
 }
 function __construct()
 {
     if (self::$python_reserved === null) {
         self::$python_reserved = array('False' => true, 'class' => true, 'finally' => true, 'is' => true, 'return' => true, 'None' => true, 'continue' => true, 'for' => true, 'lambda' => true, 'try' => true, 'True' => true, 'def' => true, 'from' => true, 'nonlocal' => true, 'while' => true, 'and' => true, 'del' => true, 'global' => true, 'not' => true, 'with' => true, 'as' => true, 'elif' => true, 'if' => true, 'or' => true, 'yield' => true, 'assert' => true, 'else' => true, 'import' => true, 'pass' => true, 'break' => true, 'except' => true, 'in' => true, 'raise' => true);
     }
     $this->reserved =& self::$python_reserved;
     parent::__construct();
 }