/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/ |
H A D | lexer.ml | 5 let rec lex = parser var 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 27 [< 'Token.Kwd c; lex stream >] 36 | [< stream=lex >] -> 43 | [< stream=lex >] -> 50 | [< ' ('\n'); stream=lex >] -> stream
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
H A D | lexer.ml | 5 let rec lex = parser var 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 27 [< 'Token.Kwd c; lex stream >] 36 | [< stream=lex >] -> 43 | [< stream=lex >] -> 50 | [< ' ('\n'); stream=lex >] -> stream
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
H A D | lexer.ml | 5 let rec lex = parser var 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 27 [< 'Token.Kwd c; lex stream >] 36 | [< stream=lex >] -> 43 | [< stream=lex >] -> 50 | [< ' ('\n'); stream=lex >] -> stream
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
H A D | lexer.ml | 5 let rec lex = parser var 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 27 [< 'Token.Kwd c; lex stream >] 36 | [< stream=lex >] -> 43 | [< stream=lex >] -> 55 | [< ' ('\n'); stream=lex >] -> stream
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
H A D | lexer.ml | 5 let rec lex = parser var 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 27 [< 'Token.Kwd c; lex stream >] 36 | [< stream=lex >] -> 43 | [< stream=lex >] -> 57 | [< ' ('\n'); stream=lex >] -> stream
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
H A D | lexer.ml | 5 let rec lex = parser var 7 | [< ' (' ' | '\n' | '\r' | '\t'); stream >] -> lex stream 27 [< 'Token.Kwd c; lex stream >] 36 | [< stream=lex >] -> 43 | [< stream=lex >] -> 58 | [< ' ('\n'); stream=lex >] -> stream
|
/external/javassist/src/main/javassist/compiler/ |
H A D | CompileError.java | 22 private Lex lex; field in class:CompileError 27 lex = l; 32 lex = null; 43 public Lex getLex() { return lex; }
|
H A D | Parser.java | 21 private Lex lex; field in class:Parser 23 public Parser(Lex lex) { argument 24 this.lex = lex; 27 public boolean hasMore() { return lex.lookAhead() >= 0; } 46 if (lex.lookAhead() == Identifier && lex.lookAhead(1) == '(') { 53 if (lex.get() != Identifier) 54 throw new SyntaxError(lex); 60 name = lex [all...] |
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
H A D | HtmlLexerTest.java | 51 lex(input, actual); 124 private static void lex(String input, Appendable out) throws Exception { method in class:HtmlLexerTest
|
H A D | CssTokensTest.java | 45 private static CssTokens lex(String s) { method in class:CssTokensTest 46 CssTokens tokens = CssTokens.lex(s); 51 CssTokens.lex(tokens.normalizedCss).normalizedCss); 57 CssTokens tokens = lex("([foo[[||]])"); 118 CssTokens tokens = lex(input); 134 lex( 141 assertEquals("foo/ bar/", lex("foo/bar/").normalizedCss); 148 lex("||<!-- and --> are ignorable||").normalizedCss); 151 lex("<!-\\- and -\\-> are not ignorable").normalizedCss); 208 CssTokens tokens = lex(inpu [all...] |
/external/selinux/sepolgen/src/sepolgen/ |
H A D | classperms.py | 55 import lex namespace 56 lex.lex() 103 #lex.input(txt) 105 # tok = lex.token()
|
H A D | lex.py | 2 # ply: lex.py 480 # lex(module) 484 def lex(module=None,object=None,debug=0,optimize=0,lextab="lextab",reflags=0,nowarn=0): function 545 raise SyntaxError,"lex: module does not define 'tokens'" 547 raise SyntaxError,"lex: tokens must be a list or tuple." 554 print "lex: Bad token name '%s'" % n 557 print "lex: Warning. Token '%s' multiply defined." % n 563 print "lex: tokens = '%s'" % lexobj.lextokens.keys() 568 print "lex: Invalid literal %s. Must be a single character" % repr(c) 573 print "lex [all...] |
H A D | yacc.py | 89 # .lexpos = Starting lex position 90 # .endlexpos = Ending lex position (optional, set automatically) 191 # If no lexer was given, we will try to use the lex module 193 import lex namespace 194 lexer = lex.lexer
|
H A D | refparser.py | 41 import lex namespace 990 lexer = lex.lex()
|
/external/llvm/utils/lit/lit/ |
H A D | ShUtil.py | 62 # Otherwise, lex the operator and convert to a redirection 162 def lex(self): member in class:ShLexer 175 self.tokens = ShLexer(data, win32Escapes = win32Escapes).lex() 177 def lex(self): member in class:ShParser 183 token = self.lex() 189 tok = self.lex() 206 args.append(self.lex()) 215 op = self.lex() 216 arg = self.lex() 228 self.lex() 253 def lex(self, str, *args, **kwargs): member in class:TestShLexer [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
H A D | ToSAXHandler.java | 48 LexicalHandler lex, 52 setLexHandler(lex); 46 ToSAXHandler( ContentHandler hdlr, LexicalHandler lex, String encoding) argument
|
H A D | ToTextSAXHandler.java | 67 public ToTextSAXHandler(ContentHandler hdlr, LexicalHandler lex, String encoding) argument 69 super(hdlr, lex, encoding);
|
H A D | ToXMLSAXHandler.java | 482 LexicalHandler lex, 485 super(handler, lex, encoding); 480 ToXMLSAXHandler( ContentHandler handler, LexicalHandler lex, String encoding) argument
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/ |
H A D | template.py | 378 def lex(s, name=None, trim_whitespace=True): function 382 >>> lex('hey') 384 >>> lex('hey {{you}}') 386 >>> lex('hey {{') 390 >>> lex('hey }}') 394 >>> lex('hey {{ {{') 443 >>> tokens = lex('{{if x}}\nx\n{{endif}}\ny', trim_whitespace=False) 537 tokens = lex(s, name=name)
|
/external/llvm/tools/llvm-mcmarkup/ |
H A D | llvm-mcmarkup.cpp | 73 MarkupParser(MarkupLexer &lex, SourceMgr &SrcMgr) : Lex(lex), SM(SrcMgr) {} argument
|
/external/svox/pico/lib/ |
H A D | picowa.c | 66 /* lex knowledge base */ 67 picoklex_Lex lex; member in struct:wa_subobj 105 /* kb lex */ 106 wa->lex = picoklex_getLex(this->voice->kbArray[PICOKNOW_KBID_LEX_MAIN]); 107 if (wa->lex == NULL) { 111 PICODBG_DEBUG(("got lex")); 290 if (!found && !picoklex_lexLookup(wa->lex, content, head->len, &lexres)) { 291 /* no lex entry found, WORDGRAPH(POS,NA)graph */ 309 ensured for user lex too */ 344 /* set lex po [all...] |
H A D | picosa.c | 86 2. lex-index lookup and G2P (both directions possible, left-to-right done): 229 /* lex knowledge base */ 230 picoklex_Lex lex; member in struct:sa_subobj 402 /* kb lex */ 403 sa->lex = picoklex_getLex(this->voice->kbArray[PICOKNOW_KBID_LEX_MAIN]); 404 if (sa->lex == NULL) { 408 PICODBG_DEBUG(("got lex")); 735 picoklex_Lex lex, 742 if (picoklex_lexIndLookup(lex, &(sa->cbuf1[sa->headx[ind].cind + 1]), 1178 PWP | lex/g2 733 saLexIndLookup(register picodata_ProcessingUnit this, register sa_subobj_t *sa, picoklex_Lex lex, picoos_uint16 ind) argument 1197 picoklex_Lex lex; local [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
H A D | CssTokens.java | 85 public static CssTokens lex(String css) { method in class:CssTokens 87 lexer.lex(); 422 void lex() { method in class:CssTokens.Lexer
|
/external/clang/lib/Format/ |
H A D | Format.cpp | 614 ArrayRef<FormatToken *> lex() { function in class:clang::format::__anon1025::FormatTokenLexer 827 // re-lex after the backtick position. 1207 UnwrappedLineParser Parser(Style, Tokens.getKeywords(), Tokens.lex(),
|
/external/chromium-trace/trace-viewer/tracing/third_party/components/polymer/ |
H A D | polymer.js | 2634 function lex() { function 2684 var token = lex(); 2705 lex(); 2712 lex(); 2730 lex(); 2752 token = lex(); 2823 expr = delegate.createIdentifier(lex().value); 2825 expr = delegate.createLiteral(lex()); 2828 lex(); 2832 token = lex(); [all...] |