HomeSort by relevance Sort by last modified time
    Searched defs:Lexer (Results 1 - 25 of 124) sorted by null

1 2 3 4 5

  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
Lexer.js 1 /** A lexer is recognizer that draws input symbols from a character stream.
2 * lexer grammars result in a subclass of this object. A Lexer object
6 org.antlr.runtime.Lexer = function(input, state) {
8 org.antlr.runtime.Lexer.superclass.constructor.call(this, state);
15 org.antlr.lang.extend(org.antlr.runtime.Lexer, org.antlr.runtime.BaseRecognizer, {
18 org.antlr.runtime.Lexer.superclass.reset.call(this);
71 /** Instruct the lexer to skip creating a token for current lexer rule
73 * a lexer rule finishes with token set to SKIP_TOKEN. Recall tha
    [all...]
  /external/swiftshader/src/OpenGL/compiler/preprocessor/
Lexer.cpp 15 #include "Lexer.h"
20 Lexer::~Lexer()
Lexer.h 23 class Lexer
26 virtual ~Lexer();
  /external/antlr/antlr-3.4/runtime/Perl5/t/classes/Test/ANTLR/Runtime/
Lexer.pm 1 package Test::ANTLR::Runtime::Lexer;
6 use ANTLR::Runtime::Lexer;
14 my $lexer = ANTLR::Runtime::Lexer->new({ input => $input });
15 ok defined $lexer;
  /external/turbine/java/com/google/turbine/parse/
Lexer.java 21 /** A Java lexer. */
22 public interface Lexer {
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
Lexer.as 30 /** A lexer is recognizer that draws input symbols from a character stream.
31 * lexer grammars result in a subclass of this object. A Lexer object
35 public class Lexer extends BaseRecognizer implements TokenSource {
36 /** Where is the lexer drawing characters from? */
39 public function Lexer(input:CharStream = null, state:RecognizerSharedState = null) {
46 // wack Lexer state variables
99 /** Instruct the lexer to skip creating a token for current lexer rule
101 * a lexer rule finishes with token set to SKIP_TOKEN. Recall tha
    [all...]
  /external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
lexer.py 1 # mako/lexer.py
7 """provides the Lexer class for parsing template strings into parse trees."""
16 class Lexer(object):
  /external/swiftshader/third_party/LLVM/include/llvm/MC/
MCTargetAsmLexer.h 1 //===-- llvm/MC/MCTargetAsmLexer.h - Target Assembly Lexer ------*- C++ -*-===//
41 MCAsmLexer *Lexer;
48 /// InstallLexer - Set the lexer to get tokens from lower-level lexer \arg L.
50 Lexer = &L;
54 return Lexer;
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
Lexer.cs 37 * A lexer is recognizer that draws input symbols from a character stream.
38 * lexer grammars result in a subclass of this object. A Lexer object
43 public abstract class Lexer : BaseRecognizer, ITokenSource {
44 /** <summary>Where is the lexer drawing characters from?</summary> */
47 public Lexer() {
50 public Lexer(ICharStream input) {
54 public Lexer(ICharStream input, RecognizerSharedState state)
93 // wack Lexer state variables
143 * Instruct the lexer to skip creating a token for current lexer rul
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
Lexer.cs 38 * A lexer is recognizer that draws input symbols from a character stream.
39 * lexer grammars result in a subclass of this object. A Lexer object
44 public abstract class Lexer : BaseRecognizer, ITokenSource
46 /** <summary>Where is the lexer drawing characters from?</summary> */
49 public Lexer()
53 public Lexer( ICharStream input )
58 public Lexer( ICharStream input, RecognizerSharedState state )
109 // wack Lexer state variables
177 * Instruct the lexer to skip creating a token for current lexer rul
    [all...]
  /external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
Lexer.pm 1 package ANTLR::Runtime::Lexer;
29 # wack Lexer state variables
92 # Instruct the lexer to skip creating a token for current lexer rule
94 # a lexer rule finishes with token set to SKIP_TOKEN. Recall that
104 # This is the lexer entry point that sets instance var 'token'
109 # Set the char stream and reset the lexer
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/
group-file-lexer.rb 59 # - - - - - - begin action @lexer::header - - - - - -
66 # - - - - - - end action @lexer::header - - - - - - -
86 class Lexer < ANTLR3::Lexer
111 # - - - - - - - - - - - lexer rules - - - - - - - - - - - -
112 # lexer rule t__10! (T__10)
136 # lexer rule t__11! (T__11)
160 # lexer rule t__12! (T__12)
184 # lexer rule t__13! (T__13)
208 # lexer rule t__14! (T__14
    [all...]
  /external/nist-sip/java/gov/nist/core/
HostNameParser.java 37 //import gov.nist.javax.sdp.parser.Lexer;
52 private static LexerCore Lexer;
66 this.lexer = new LexerCore("charLexer", hname);
73 * The lexer is initialized with the buffer.
75 public HostNameParser(LexerCore lexer) {
76 this.lexer = lexer;
77 lexer.selectLexer("charLexer");
89 lexer.consumeValidChars(VALID_DOMAIN_LABEL_CHAR);
104 while (lexer.hasMoreChars())
    [all...]
  /external/selinux/python/sepolgen/src/sepolgen/
lex.py 59 self.lexer.skip(n)
62 # Lexer class
64 # This class encapsulates all of the methods and data associated with a lexer.
66 # input() - Store a new string in the lexer
70 class Lexer:
77 self.lexstatere = {} # Dictionary mapping lexer states to master regexs
78 self.lexstateretext = {} # Dictionary mapping lexer states to regex strings
79 self.lexstate = "INITIAL" # Current lexer state
80 self.lexstatestack = [] # Stack of lexer states
98 c = Lexer()
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
lex.py 59 self.lexer.skip(n)
62 # Lexer class
64 # This class encapsulates all of the methods and data associated with a lexer.
66 # input() - Store a new string in the lexer
70 class Lexer:
77 self.lexstatere = {} # Dictionary mapping lexer states to master regexs
78 self.lexstateretext = {} # Dictionary mapping lexer states to regex strings
79 self.lexstate = "INITIAL" # Current lexer state
80 self.lexstatestack = [] # Stack of lexer states
98 c = Lexer()
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
Lexer.java 30 /** A lexer is recognizer that draws input symbols from a character stream.
31 * lexer grammars result in a subclass of this object. A Lexer object
35 public abstract class Lexer extends BaseRecognizer implements TokenSource {
36 /** Where is the lexer drawing characters from? */
39 public Lexer() {
42 public Lexer(CharStream input) {
46 public Lexer(CharStream input, RecognizerSharedState state) {
53 // wack Lexer state variables
113 /** Instruct the lexer to skip creating a token for current lexer rul
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/compiler/
Lexer.java 19 * $Id: Lexer.java 524810 2007-04-02 15:51:55Z zongaro $
32 class Lexer
73 * Create a Lexer object.
75 * @param compiler The owning compiler for this lexer.
80 Lexer(Compiler compiler, PrefixResolver resolver,
  /external/clang/include/clang/Lex/
Lexer.h 1 //===--- Lexer.h - C Language Family Lexer ----------------------*- C++ -*-===//
10 // This file defines the Lexer interface.
29 /// ConflictMarkerKind - Kinds of conflict marker which the lexer might be
42 /// Lexer - This provides a simple interface that turns a text buffer into a
46 class Lexer : public PreprocessorLexer {
50 // Constant configuration values for this lexer.
55 bool Is_PragmaLexer; // True if lexer for _Pragma handling.
61 /// ExtendedTokenMode - The lexer can optionally keep comments and whitespace
73 // in Lexer::isNextPPTokenLParen
    [all...]
  /external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/
lexer.py 29 """Class for errors from the lexer."""
37 class Lexer(object):
76 ## All the tokens recognized by the lexer
169 t.lexer.lineno += len(t.value)
250 t.lexer.lineno += t.value.count("\n")
  /external/libmojo/third_party/ply/
lex.py 103 # The following Lexer class implements the lexer runtime. There are only
106 # input() - Store a new string in the lexer
108 # clone() - Clone the lexer
114 class Lexer:
121 self.lexstatere = {} # Dictionary mapping lexer states to master regexs
122 self.lexstateretext = {} # Dictionary mapping lexer states to regex strings
123 self.lexstaterenames = {} # Dictionary mapping lexer states to symbol names
124 self.lexstate = "INITIAL" # Current lexer state
125 self.lexstatestack = [] # Stack of lexer state
    [all...]
  /external/ply/ply/ply/
lex.py 104 # The following Lexer class implements the lexer runtime. There are only
107 # input() - Store a new string in the lexer
109 # clone() - Clone the lexer
115 class Lexer:
122 self.lexstatere = {} # Dictionary mapping lexer states to master regexs
123 self.lexstateretext = {} # Dictionary mapping lexer states to regex strings
124 self.lexstaterenames = {} # Dictionary mapping lexer states to symbol names
125 self.lexstate = 'INITIAL' # Current lexer state
126 self.lexstatestack = [] # Stack of lexer state
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/Lex/
Lexer.h 1 //===--- Lexer.h - C Language Family Lexer ----------------------*- C++ -*-===//
10 // This file defines the Lexer interface.
29 /// ConflictMarkerKind - Kinds of conflict marker which the lexer might be
42 /// Lexer - This provides a simple interface that turns a text buffer into a
46 class Lexer : public PreprocessorLexer {
50 // Constant configuration values for this lexer.
55 bool Is_PragmaLexer; // True if lexer for _Pragma handling.
61 /// ExtendedTokenMode - The lexer can optionally keep comments and whitespace
73 // in Lexer::isNextPPTokenLParen
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4393122/include/clang/Lex/
Lexer.h 1 //===--- Lexer.h - C Language Family Lexer ----------------------*- C++ -*-===//
10 // This file defines the Lexer interface.
29 /// ConflictMarkerKind - Kinds of conflict marker which the lexer might be
42 /// Lexer - This provides a simple interface that turns a text buffer into a
46 class Lexer : public PreprocessorLexer {
50 // Constant configuration values for this lexer.
55 bool Is_PragmaLexer; // True if lexer for _Pragma handling.
61 /// ExtendedTokenMode - The lexer can optionally keep comments and whitespace
73 // in Lexer::isNextPPTokenLParen
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4479392/include/clang/Lex/
Lexer.h 1 //===--- Lexer.h - C Language Family Lexer ----------------------*- C++ -*-===//
10 // This file defines the Lexer interface.
29 /// ConflictMarkerKind - Kinds of conflict marker which the lexer might be
42 /// Lexer - This provides a simple interface that turns a text buffer into a
46 class Lexer : public PreprocessorLexer {
50 // Constant configuration values for this lexer.
55 bool Is_PragmaLexer; // True if lexer for _Pragma handling.
61 /// ExtendedTokenMode - The lexer can optionally keep comments and whitespace
73 // in Lexer::isNextPPTokenLParen
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4579689/include/clang/Lex/
Lexer.h 1 //===--- Lexer.h - C Language Family Lexer ----------------------*- C++ -*-===//
10 // This file defines the Lexer interface.
29 /// ConflictMarkerKind - Kinds of conflict marker which the lexer might be
54 /// Used to inform the lexer as to whether it's starting at the beginning of
59 /// Lexer - This provides a simple interface that turns a text buffer into a
63 class Lexer : public PreprocessorLexer {
67 // Constant configuration values for this lexer.
72 bool Is_PragmaLexer; // True if lexer for _Pragma handling.
78 /// ExtendedTokenMode - The lexer can optionally keep comments and whitespac
    [all...]

Completed in 628 milliseconds

1 2 3 4 5