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

1 2 3 4 5 6 7 8 91011>>

  /external/swiftshader/src/OpenGL/compiler/preprocessor/
Lexer.cpp 15 #include "Lexer.h"
20 Lexer::~Lexer()
Lexer.h 23 class Lexer
26 virtual ~Lexer();
ExpressionParser.h 23 class Lexer;
35 ExpressionParser(Lexer *lexer, Diagnostics *diagnostics);
44 Lexer *mLexer;
  /external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/
LexerExtensions.cs 37 public static void skip( Lexer lexer )
39 lexer.Skip();
  /external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
LexerExtensions.cs 37 public static void skip( this Lexer lexer )
39 lexer.Skip();
  /development/vndk/tools/sourcedr/blueprint/tests/
test_lexer.py 19 """This module contains the unit tests to check the Lexer class."""
24 from blueprint import Lexer, LexerError, Token
69 """Unit tests for Lexer.compute_line_column() method."""
75 line, column = Lexer.compute_line_column('ab\ncde\nfg\n', 0)
79 line, column = Lexer.compute_line_column('ab\ncde\nfg\n', 1)
83 line, column = Lexer.compute_line_column('ab\ncde\nfg\n', 2)
88 line, column = Lexer.compute_line_column('ab\ncde\nfg\n', 3)
92 line, column = Lexer.compute_line_column('ab\ncde\nfg\n', 4)
96 line, column = Lexer.compute_line_column('ab\ncde\nfg\n', 5)
100 line, column = Lexer.compute_line_column('ab\ncde\nfg\n', 6
    [all...]
test_module_path.py 25 from blueprint import Lexer, Parser, RecursiveParser
36 """Test whether the path are passed from Lexer to parsed modules."""
43 parser = Parser(Lexer(content, path='test_path'))
  /external/antlr/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/swiftshader/third_party/LLVM/lib/MC/
MCTargetAsmLexer.cpp 1 //===-- llvm/MC/MCTargetAsmLexer.cpp - Target Assembly Lexer --------------===//
14 : TheTarget(T), Lexer(NULL) {
  /external/fonttools/Tests/feaLib/
lexer_test.py 5 from fontTools.feaLib.lexer import IncludingLexer, Lexer
13 return [(typ, tok) for (typ, tok, _) in Lexer(s, "test.fea")]
29 self.assertEqual(lex("a17"), [(Lexer.NAME, "a17")])
30 self.assertEqual(lex(".notdef"), [(Lexer.NAME, ".notdef")])
31 self.assertEqual(lex("two.oldstyle"), [(Lexer.NAME, "two.oldstyle")])
32 self.assertEqual(lex("_"), [(Lexer.NAME, "_")])
33 self.assertEqual(lex("\\table"), [(Lexer.NAME, "\\table")])
34 self.assertEqual(lex("a+*:^~!"), [(Lexer.NAME, "a+*:^~!")])
35 self.assertEqual(lex("with-dash"), [(Lexer.NAME, "with-dash")]
    [all...]
  /external/clang/include/clang/AST/
CommentBriefParser.h 31 Lexer &L;
45 BriefParser(Lexer &L, const CommandTraits &Traits);
  /external/fonttools/Tests/voltLib/
lexer_test.py 4 from fontTools.voltLib.lexer import Lexer
9 return [(typ, tok) for (typ, tok, _) in Lexer(s, "test.vtp")]
22 [(Lexer.STRING, "foo"), (Lexer.STRING, "bar")])
27 [(Lexer.NAME, "DEF_FOO"), (Lexer.NAME, "bar.alt1")])
31 [(Lexer.NUMBER, 123), (Lexer.NUMBER, -456)])
  /external/smali/smali/src/main/java/org/jf/smali/
LexerErrorInterface.java 32 import org.antlr.runtime.Lexer;
38 //ANTLR doesn't provide any way to add interfaces to the lexer class directly, so this is an intermediate
40 public abstract static class ANTLRLexerWithErrorInterface extends Lexer implements LexerErrorInterface {
  /external/clang/lib/Tooling/
FixIt.cpp 15 #include "clang/Lex/Lexer.h"
23 return Lexer::getSourceText(CharSourceRange::getTokenRange(Range),
  /external/turbine/java/com/google/turbine/parse/
Lexer.java 21 /** A Java lexer. */
22 public interface Lexer {
  /external/antlr/antlr3-maven-archetype/src/main/resources/archetype-resources/src/main/java/
AbstractTLexer.java 7 import org.antlr.runtime.Lexer;
12 * This is the super class for the lexer. It is extended by the lexer class
15 * Do not place code and declarations in the lexer .g files, use
18 * the lexer grammar clean and hunky dory.
23 extends Lexer
27 * Default constructor for the lexer, when you do not yet know what
34 * Create a new instance of the lexer using the given character stream as
48 * @param state The shared state object, shared between all lexer comonents
  /external/antlr/runtime/Ruby/lib/antlr3/template/
group-file.rb 10 require 'antlr3/template/group-file-lexer'
16 Lexer = GroupFile::Lexer
  /external/fonttools/Lib/fontTools/feaLib/
lexer.py 9 class Lexer(object):
43 self.mode_ = Lexer.MODE_NORMAL_
54 if token_type != Lexer.NEWLINE:
62 self.scan_over_(Lexer.CHAR_WHITESPACE_)
76 return (Lexer.NEWLINE, None, location)
81 return (Lexer.NEWLINE, None, location)
83 self.scan_until_(Lexer.CHAR_NEWLINE_)
84 return (Lexer.COMMENT, text[start:self.pos_], location)
86 if self.mode_ is Lexer.MODE_FILENAME_:
96 self.mode_ = Lexer.MODE_NORMAL
    [all...]
  /external/fonttools/Lib/fontTools/voltLib/
lexer.py 5 class Lexer(object):
39 if token_type not in {Lexer.NEWLINE}:
43 self.scan_over_(Lexer.CHAR_WHITESPACE_)
58 return (Lexer.NEWLINE, None, location)
63 return (Lexer.NEWLINE, None, location)
69 return (Lexer.STRING, text[start + 1:self.pos_ - 1], location)
73 if cur_char in Lexer.CHAR_NAME_START_:
75 self.scan_over_(Lexer.CHAR_NAME_CONTINUATION_)
77 return (Lexer.NAME, token, location)
78 if cur_char in Lexer.CHAR_DIGIT_
    [all...]
  /device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
PBlackBox.h 45 // The default buffer size of the lexer is given by the
46 // second argument of the lexer's ctor. It is optional
50 template<class Lexer, class Parser, class Token>
61 Lexer *scan;
87 scan = new Lexer(in);
113 scan = new Lexer(in);
131 Lexer *getLexer() { return scan; }
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
PBlackBox.h 43 // The default buffer size of the lexer is given by the
44 // second argument of the lexer's ctor. It is optional
48 template<class Lexer, class Parser, class Token>
52 Lexer *scan;
65 scan = new Lexer(in);
83 scan = new Lexer(in);
101 Lexer *getLexer() { return scan; }
  /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/smali/smalidea/src/main/java/org/jf/smalidea/
SmaliHighlighter.java 34 import com.intellij.lexer.Lexer;
42 @NotNull @Override public Lexer getHighlightingLexer() {
  /external/antlr/runtime/Ruby/test/functional/lexer/
syn-pred.rb 8 lexer grammar SyntacticPredicateGate;
26 lexer = SyntacticPredicateGate::Lexer.new( 'ac' )
27 token = lexer.next_token
  /external/antlr/runtime/Ruby/test/functional/parser/
nuances.rb 28 lexer = EmptyAlt::Lexer.new( 'foo' )
29 parser = EmptyAlt::Parser.new lexer
58 lexer = Subrule::Lexer.new( 'BEGIN A END' )
59 parser = Subrule::Parser.new lexer
95 lexer = SpecialStates::Lexer.new 'foo'
96 parser = SpecialStates::Parser.new lexer
101 lexer = SpecialStates::Lexer.new 'foo name1
    [all...]

Completed in 708 milliseconds

1 2 3 4 5 6 7 8 91011>>