Home
last modified time | relevance | path

Searched refs:Tokens (Results 1 – 25 of 97) sorted by relevance

1234

/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
Dtest-tree-wizard.rb84 Tokens = TokenScheme.build %w(A B C D E ID VAR) constant in TestPatternParser
85 include Tokens
88 @adaptor = CommonTreeAdaptor.new( Tokens.token_class )
89 @pattern_adaptor = Wizard::PatternAdaptor.new( Tokens.token_class )
90 @wizard = Wizard.new( :adaptor => @adaptor, :token_scheme => Tokens )
95 tree = Wizard::PatternParser.parse( 'ID', Tokens, @adaptor )
103 tree = Wizard::PatternParser.parse( 'ID[foo]', Tokens, @adaptor )
111 tree = Wizard::PatternParser.parse( '(A B)', Tokens, @adaptor )
122 tree = Wizard::PatternParser.parse( 'nil', Tokens, @adaptor )
130 tree = Wizard::PatternParser.parse( '(.)', Tokens, @adaptor )
[all …]
/external/clang/lib/Lex/
DTokenLexer.cpp39 Tokens = &*Macro->tokens_begin(); in Init()
49 assert(Tokens[0].getLocation().isValid()); in Init()
50 assert((Tokens[0].getLocation().isFileID() || Tokens[0].is(tok::comment)) && in Init()
58 MacroDefStart = SM.getExpansionLoc(Tokens[0].getLocation()); in Init()
89 Tokens = TokArray; in Init()
112 delete [] Tokens; in destroy()
113 Tokens = 0; in destroy()
141 const Token &CurTok = Tokens[i]; in ExpandFunctionArguments()
143 int ArgNo = Macro->getArgumentNum(Tokens[i+1].getIdentifierInfo()); in ExpandFunctionArguments()
149 getExpansionLocForMacroDefLoc(Tokens[i+1].getLocation()); in ExpandFunctionArguments()
[all …]
/external/llvm/lib/MC/MCDisassembler/
DEDInst.cpp47 unsigned int numTokens = Tokens.size(); in ~EDInst()
50 delete Tokens[index]; in ~EDInst()
175 return TokenizeResult.setResult(EDToken::tokenize(Tokens, in tokenize()
185 return Tokens.size(); in numTokens()
191 token = Tokens[index]; in getToken()
202 for (iter = Tokens.begin(); iter != Tokens.end(); ++iter) { in visitTokens()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DTokenConstants.cs65 public static class Tokens class
67 public static readonly IToken EndOfFile = Tokens<CommonToken>.EndOfFile;
79 public static class Tokens<T>
/external/llvm/lib/CodeGen/
DIfConversion.cpp185 std::vector<IfcvtToken*> &Tokens);
188 void AnalyzeBlocks(MachineFunction &MF, std::vector<IfcvtToken*> &Tokens);
287 std::vector<IfcvtToken*> Tokens; in INITIALIZE_PASS_DEPENDENCY() local
295 AnalyzeBlocks(MF, Tokens); in INITIALIZE_PASS_DEPENDENCY()
296 while (!Tokens.empty()) { in INITIALIZE_PASS_DEPENDENCY()
297 IfcvtToken *Token = Tokens.back(); in INITIALIZE_PASS_DEPENDENCY()
298 Tokens.pop_back(); in INITIALIZE_PASS_DEPENDENCY()
393 while (!Tokens.empty()) { in INITIALIZE_PASS_DEPENDENCY()
394 IfcvtToken *Token = Tokens.back(); in INITIALIZE_PASS_DEPENDENCY()
395 Tokens.pop_back(); in INITIALIZE_PASS_DEPENDENCY()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/lexertest-simple/
DTest.tokens2 Tokens=7
DTestLexer.h15 #pragma mark Tokens
DTestLexerLexer.h16 #pragma mark Tokens
DTestLexer.h.old10 #pragma mark Tokens
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DTokens.cs35 public static class Tokens class
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DTreeConstants.cs37 public static readonly ITree INVALID_NODE = new CommonTree( Tokens.Invalid );
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/lexertest-simple/output1/
DTestLexer.h15 #pragma mark Tokens
DTestLexerLexer.h15 #pragma mark Tokens
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/output1/
DTreeRewriteLexer.h16 #pragma mark Tokens
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/combined/
DCombinedLexer.h16 #pragma mark Tokens
DCombinedParser.h13 #pragma mark Tokens
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
Dtoken.ml2 * Lexer Tokens
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treerewrite/
DTreeRewriteLexer.h16 #pragma mark Tokens
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
Dtoken.ml2 * Lexer Tokens
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
Dtoken.ml2 * Lexer Tokens
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/hoistedPredicates/
DTLexer.h16 #pragma mark Tokens
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dtoken.ml2 * Lexer Tokens
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dtoken.ml2 * Lexer Tokens
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/
DLangLexer.h16 #pragma mark Tokens
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dtoken.ml2 * Lexer Tokens

1234