Home
last modified time | relevance | path

Searched refs:lex (Results 1 – 25 of 163) sorted by relevance

1234567

/external/javassist/src/main/javassist/compiler/
DParser.java21 private Lex lex; field in Parser
23 public Parser(Lex lex) { in Parser() argument
24 this.lex = lex; in Parser()
27 public boolean hasMore() { return lex.lookAhead() >= 0; } in hasMore()
46 if (lex.lookAhead() == Identifier && lex.lookAhead(1) == '(') { in parseMember1()
53 if (lex.get() != Identifier) in parseMember1()
54 throw new SyntaxError(lex); in parseMember1()
60 name = lex.getString(); in parseMember1()
63 if (isConstructor || lex.lookAhead() == '(') in parseMember1()
78 if (lex.lookAhead() == '=') { in parseField()
[all …]
DCompileError.java22 private Lex lex; field in CompileError
27 lex = l; in CompileError()
32 lex = null; in CompileError()
43 public Lex getLex() { return lex; } in getLex()
/external/srec/srec/Semproc/src/
DLexicalAnalyzer.c49 ESR_ReturnCode LA_Analyze(LexicalAnalyzer *lex, LCHAR *script) in LA_Analyze() argument
51 if (lex == NULL || script == NULL) in LA_Analyze()
58 lex->nextToken = lex->script = script; in LA_Analyze()
62 ESR_ReturnCode LA_Free(LexicalAnalyzer *lex) in LA_Free() argument
64 if (lex == NULL) in LA_Free()
69 FREE(lex); in LA_Free()
74 ESR_ReturnCode LA_nextToken(LexicalAnalyzer *lex, LCHAR *tokenBuf, size_t* tokenLen) in LA_nextToken() argument
79 while (LISSPACE(*lex->nextToken)) in LA_nextToken()
80 ++lex->nextToken; in LA_nextToken()
82 switch (*lex->nextToken) in LA_nextToken()
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
Dglslang_tab.cpp307 } lex; member
2114 const TSymbol* symbol = (yyvsp[(1) - (1)].lex).symbol;
2117 …context->error((yyvsp[(1) - (1)].lex).line, "undeclared identifier", (yyvsp[(1) - (1)].lex).string…
2120 TVariable* fakeVariable = new TVariable((yyvsp[(1) - (1)].lex).string, type);
2126 …context->error((yyvsp[(1) - (1)].lex).line, "variable expected", (yyvsp[(1) - (1)].lex).string->c_…
2138 …ermTypedNode) = context->intermediate.addConstantUnion(constArray, t, (yyvsp[(1) - (1)].lex).line);
2142 … variable->getType(), (yyvsp[(1) - (1)].lex).line);
2160 if (abs((yyvsp[(1) - (1)].lex).i) >= (1 << 16)) {
2161 context->error((yyvsp[(1) - (1)].lex).line, " integer constant overflow", "", "");
2165 unionArray->setIConst((yyvsp[(1) - (1)].lex).i);
[all …]
/external/llvm/utils/lit/lit/
DTclUtil.py152 def lex(self): member in TclLexer
172 def lex(self): member in TclExecCommand
179 next = self.lex()
186 arg = self.lex()
204 arg = self.lex()
238 self.lex()
254 def lex(self, str, *args, **kwargs): member in TestTclLexer
255 return list(TclLexer(str, *args, **kwargs).lex())
262 self.assertEqual(self.lex('a b c'),
264 self.assertEqual(self.lex(r'a\nb\tc\ '),
[all …]
DShUtil.py159 def lex(self): member in ShLexer
171 self.tokens = ShLexer(data, win32Escapes = win32Escapes).lex()
173 def lex(self): member in ShParser
180 next = self.lex()
186 tok = self.lex()
203 args.append(self.lex())
212 op = self.lex()
213 arg = self.lex()
223 self.lex()
228 self.lex()
[all …]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
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/Chapter2/
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/
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/
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/
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/checkpolicy/
DMakefile17 CHECKOBJS = y.tab.o lex.yy.o queue.o module_compiler.o parse_util.o \
24 GENERATED=lex.yy.c y.tab.c y.tab.h
39 lex.yy.o: lex.yy.c
45 lex.yy.c: policy_scan.l y.tab.c
60 -rm -f $(TARGETS) $(CHECKPOLOBJS) $(CHECKMODOBJS) y.tab.c y.tab.h lex.yy.c
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
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/libffi/
Dmissing110 lex|yacc)
240 lex|flex)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if [ ! -f lex.yy.c ]; then
259 echo 'main() { return 0; }' >lex.yy.c
/external/llvm/autoconf/
Dmissing110 lex|yacc)
240 lex|flex)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if [ ! -f lex.yy.c ]; then
259 echo 'main() { return 0; }' >lex.yy.c
/external/grub/
Dmissing110 lex|yacc)
240 lex|flex)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if [ ! -f lex.yy.c ]; then
259 echo 'main() { return 0; }' >lex.yy.c
/external/genext2fs/
Dmissing110 lex|yacc)
240 lex|flex)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if [ ! -f lex.yy.c ]; then
259 echo 'main() { return 0; }' >lex.yy.c
/external/libusb/
Dmissing113 lex|yacc)
243 lex|flex)
249 rm -f lex.yy.c
256 cp "$SRCFILE" lex.yy.c
261 if test ! -f lex.yy.c; then
262 echo 'main() { return 0; }' >lex.yy.c
/external/protobuf/gtest/build-aux/
Dmissing113 lex|yacc)
243 lex|flex)
249 rm -f lex.yy.c
256 cp "$SRCFILE" lex.yy.c
261 if test ! -f lex.yy.c; then
262 echo 'main() { return 0; }' >lex.yy.c
/external/elfutils/config/
Dmissing113 lex|yacc)
243 lex|flex)
249 rm -f lex.yy.c
256 cp "$SRCFILE" lex.yy.c
261 if test ! -f lex.yy.c; then
262 echo 'main() { return 0; }' >lex.yy.c
/external/bison/build-aux/
Dmissing110 lex|yacc)
240 lex|flex)
246 rm -f lex.yy.c
253 cp "$SRCFILE" lex.yy.c
258 if [ ! -f lex.yy.c ]; then
259 echo 'main() { return 0; }' >lex.yy.c
/external/libusb-compat/
Dmissing113 lex|yacc)
243 lex|flex)
249 rm -f lex.yy.c
256 cp "$SRCFILE" lex.yy.c
261 if test ! -f lex.yy.c; then
262 echo 'main() { return 0; }' >lex.yy.c
/external/chromium/sdch/open-vcdiff/
Dmissing113 lex|yacc)
243 lex|flex)
249 rm -f lex.yy.c
256 cp "$SRCFILE" lex.yy.c
261 if test ! -f lex.yy.c; then
262 echo 'main() { return 0; }' >lex.yy.c
/external/protobuf/
Dmissing113 lex|yacc)
243 lex|flex)
249 rm -f lex.yy.c
256 cp "$SRCFILE" lex.yy.c
261 if test ! -f lex.yy.c; then
262 echo 'main() { return 0; }' >lex.yy.c
/external/libmtp/
Dmissing121 lex*|yacc*)
251 lex*|flex*)
257 rm -f lex.yy.c
264 cp "$SRCFILE" lex.yy.c
269 if test ! -f lex.yy.c; then
270 echo 'main() { return 0; }' >lex.yy.c

1234567