OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:lex
(Results
1 - 25
of
396
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/ply/ply/test/
lex_empty.py
8
import ply.
lex
as
lex
18
lex
.
lex
()
lex_module.py
7
import ply.
lex
as
lex
9
lex
.
lex
(module=lex_module_import)
10
lex
.runmain(data="3+4")
lex_token5.py
8
import ply.
lex
as
lex
27
lex
.
lex
()
28
lex
.input("1234")
29
t =
lex
.token()
lex_doc1.py
8
import ply.
lex
as
lex
24
lex
.
lex
()
lex_dup1.py
8
import ply.
lex
as
lex
27
lex
.
lex
()
lex_dup3.py
8
import ply.
lex
as
lex
29
lex
.
lex
()
lex_error1.py
8
import ply.
lex
as
lex
22
lex
.
lex
()
lex_error2.py
8
import ply.
lex
as
lex
24
lex
.
lex
()
lex_error3.py
8
import ply.
lex
as
lex
25
lex
.
lex
()
lex_error4.py
8
import ply.
lex
as
lex
25
lex
.
lex
()
lex_ignore2.py
8
import ply.
lex
as
lex
27
lex
.
lex
()
lex_literal1.py
8
import ply.
lex
as
lex
23
lex
.
lex
()
lex_literal2.py
8
import ply.
lex
as
lex
23
lex
.
lex
()
lex_literal3.py
9
import ply.
lex
as
lex
24
lex
.
lex
()
lex_re1.py
8
import ply.
lex
as
lex
25
lex
.
lex
()
lex_re2.py
8
import ply.
lex
as
lex
25
lex
.
lex
()
lex_re3.py
8
import ply.
lex
as
lex
27
lex
.
lex
()
lex_rule1.py
8
import ply.
lex
as
lex
25
lex
.
lex
()
lex_rule2.py
8
import ply.
lex
as
lex
27
lex
.
lex
()
lex_rule3.py
8
import ply.
lex
as
lex
25
lex
.
lex
()
lex_token1.py
8
import ply.
lex
as
lex
17
lex
.
lex
()
lex_token2.py
8
import ply.
lex
as
lex
20
lex
.
lex
()
lex_token3.py
8
import ply.
lex
as
lex
22
lex
.
lex
()
lex_token4.py
8
import ply.
lex
as
lex
24
lex
.
lex
()
/external/turbine/javatests/com/google/turbine/parse/
LexerTest.java
34
assertThat(
lex
("\nasd dsa\n")).containsExactly("IDENT(asd)", "IDENT(dsa)", "EOF");
39
assertThat(
lex
("\nasd++asd\n")).containsExactly("IDENT(asd)", "INCR", "IDENT(asd)", "EOF");
44
assertThat(
lex
("/* foo")).containsExactly("EOF");
45
assertThat(
lex
("\" foo")).containsExactly("EOF");
51
assertThat(
lex
("1 + 0b1000100101"))
57
assertThat(
lex
("1 + 01234567"))
63
assertThat(
lex
("0L")).containsExactly("LONG_LITERAL(0L)", "EOF");
64
assertThat(
lex
("0")).containsExactly("INT_LITERAL(0)", "EOF");
65
assertThat(
lex
("0x7fff_ffff")).containsExactly("INT_LITERAL(0x7fff_ffff)", "EOF");
66
assertThat(
lex
("0177_7777_7777")).containsExactly("INT_LITERAL(0177_7777_7777)", "EOF")
341
public static List<String>
lex
(String input) {
method in class:LexerTest
[
all
...]
Completed in 304 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>