Searched defs:lex (Results 1 - 25 of 47) sorted by relevance

12

/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
H A Dlexer.ml5 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 Dlexer.ml5 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 Dlexer.ml5 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 Dlexer.ml5 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 Dlexer.ml5 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 Dlexer.ml5 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/chromium_org/third_party/WebKit/Source/bindings/scripts/
H A Dblink_idl_lexer.py65 from ply import lex namespace
99 # Need outputdir in path because lex imports the cached lex table
120 self._lexobj = lex.lex(object=self,
130 # If file itself executed, build and cache lex table
/external/javassist/src/main/javassist/compiler/
H A DCompileError.java22 private Lex lex; field in class:CompileError
27 lex = l;
32 lex = null;
43 public Lex getLex() { return lex; }
/external/owasp/sanitizer/src/tests/org/owasp/html/
H A DHtmlLexerTest.java51 lex(input, actual);
124 private static void lex(String input, Appendable out) throws Exception { method in class:HtmlLexerTest
/external/srec/srec/Semproc/src/
H A DLexicalAnalyzer.c49 ESR_ReturnCode LA_Analyze(LexicalAnalyzer *lex, LCHAR *script) argument
51 if (lex == NULL || script == NULL)
58 lex->nextToken = lex->script = script;
62 ESR_ReturnCode LA_Free(LexicalAnalyzer *lex) argument
64 if (lex == NULL)
69 FREE(lex);
74 ESR_ReturnCode LA_nextToken(LexicalAnalyzer *lex, LCHAR *tokenBuf, size_t* tokenLen) argument
79 while (LISSPACE(*lex->nextToken))
80 ++lex
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
H A DIDBKeyPath.cpp59 m_currentTokenType = lex(m_currentElement);
66 TokenType lex(String&);
75 IDBKeyPathLexer::TokenType IDBKeyPathLexer::lex(String& element) function in class:blink::IDBKeyPathLexer
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/parse/
H A Dlexer_unittest.py24 from ply import lex namespace
39 setattr(lex.LexToken, '__eq__', _LexTokenEq)
45 rv = lex.LexToken()
61 self._zygote_lexer = lex.lex(mojom.parse.lexer.Lexer("my_file.mojom"))
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
H A DPreprocessor.cpp84 void Preprocessor::lex(Token *token) function in class:pp::Preprocessor
89 mImpl->macroExpander.lex(token);
H A DMacroExpander.cpp29 virtual void lex(Token *token) function in class:pp::TokenLexer
66 void MacroExpander::lex(Token *token) function in class:pp::MacroExpander
121 mLexer->lex(token);
323 expander.lex(&token);
327 expander.lex(&token);
/external/chromium_org/third_party/polymer/components-chromium/core-component-page/
H A Dcore-component-page-extracted.js850 Lexer.lex = function(src, options) {
852 return lexer.lex(src);
859 Lexer.prototype.lex = function(src) {
1874 tokens = Lexer.lex(src, opt)
1925 return Parser.parse(Lexer.lex(src, opt), opt);
1973 marked.lexer = Lexer.lex;
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/
H A Dlexer.py41 self.lex(s)
45 def lex(self,s): member in class:Lexer
158 #print "lex ",repr(s[i]),is_float
/external/chromium_org/ppapi/generators/
H A Didl_lexer.py11 # The lexer is uses the PLY lex library to build a tokenizer which understands
28 from ply import lex namespace
33 from ply import lex namespace
44 # 'tokens' is a value required by lex which specifies the complete list
100 # 'literals' is a value expected by lex which specifies a list of valid
215 self.lexobj = lex.lex(object=self, lextab=None, optimize=0)
346 except lex.LexError as le:
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
H A DCSSTokenizer.h61 inline int lex(void* yylval) { return (this->*m_lexFunc)(yylval); } function in class:blink::CSSTokenizer
/external/chromium_org/tools/idl_parser/
H A Didl_lexer.py27 from ply import lex namespace
33 from ply import lex namespace
39 # 'literals' is a value expected by lex which specifies a list of valid
46 # 'tokens' is a value required by lex which specifies the complete list
250 self._lexobj = lex.lex(object=self, lextab=None, optimize=0)
/external/llvm/utils/lit/lit/
H A DShUtil.py62 # 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 DToSAXHandler.java48 LexicalHandler lex,
52 setLexHandler(lex);
46 ToSAXHandler( ContentHandler hdlr, LexicalHandler lex, String encoding) argument
/external/chromium_org/third_party/ply/
H A Dlex.py2 # ply: lex.py
861 # lex(module)
865 def lex(module=None,object=None,debug=0,optimize=0,lextab="lextab",reflags=0,nowarn=0,outputdir="", debuglog=None, errorlog=None): function
909 debuglog.info("lex: tokens = %r", linfo.tokens)
910 debuglog.info("lex: literals = %r", linfo.literals)
911 debuglog.info("lex: states = %r", linfo.stateinfo)
938 debuglog.info("lex: Adding rule %s -> '%s' (state '%s')",fname,f.__doc__, state)
944 debuglog.info("lex: Adding rule %s -> '%s' (state '%s')",name,r, state)
951 debuglog.info("lex: ==== MASTER REGEXS FOLLOW ====")
960 debuglog.info("lex
[all...]
/external/llvm/tools/llvm-mcmarkup/
H A Dllvm-mcmarkup.cpp73 MarkupParser(MarkupLexer &lex, SourceMgr &SrcMgr) : Lex(lex), SM(SrcMgr) {} argument
/external/qemu/android/
H A Dconfig-file.c261 static int lex(cstate *cs, int value)
269 #define lex(cs,v) _lex(cs,v) macro
278 switch(lex(cs, 0)){
299 switch(lex(cs, 1)) {
301 if(lex(cs, 0) != T_TEXT) return -1;
327 switch(lex(&cs, 0)){
/external/svox/pico/lib/
H A Dpicowa.c66 /* 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...]

Completed in 873 milliseconds

12