Home
last modified time | relevance | path

Searched refs:TToken (Results 1 – 10 of 10) sorted by relevance

/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DParserRuleReturnScope.cs58 public class ParserRuleReturnScope<TToken> : IRuleReturnScope<TToken>
59 where TToken : IToken {
60 private TToken _start;
61 private TToken _stop;
63 public TToken Start {
73 public TToken Stop {
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DParserRuleReturnScope.cs59 public class ParserRuleReturnScope<TToken> : IRuleReturnScope<TToken>
61 private TToken _start;
62 private TToken _stop;
64 public TToken Start
77 public TToken Stop
DTemplateParserRuleReturnScope`2.cs35 …public class TemplateParserRuleReturnScope<TTemplate, TToken> : ParserRuleReturnScope<TToken>, ITe…
DAstParserRuleReturnScope`2.cs35 …public class AstParserRuleReturnScope<TTree, TToken> : ParserRuleReturnScope<TToken>, IAstRuleRetu…
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/Tree/
DITreeFactory.cs35 public interface ITreeFactory<TToken, TTree>
36 where TToken : IToken interface
39 TTree Create( TToken payload ); in Create()
47 …TTree CreateErrorNode( ITokenStream<TToken> input, TToken start, TToken stop, RecognitionException… in CreateErrorNode()
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tree.Tests.pas630 if (TokenType <> TToken.DOWN) and (TokenType <> TToken.UP) then
694 Buf2.Append(TToken.DOWN);
705 Buf2.Append(TToken.UP);
827 CheckEquals((Stream.LT(2) as ITree).TokenType,TToken.DOWN);
829 CheckEquals((Stream.LT(4) as ITree).TokenType,TToken.DOWN);
831 CheckEquals((Stream.LT(6) as ITree).TokenType,TToken.UP);
833 CheckEquals((Stream.LT(8) as ITree).TokenType,TToken.UP);
834 CheckEquals((Stream.LT(9) as ITree).TokenType,TToken.EOF);
836 CheckEquals((Stream.LT(100) as ITree).TokenType,TToken.EOF);
866 CheckEquals((Stream.LT(1) as ITree).TokenType,TToken.EOF);
[all …]
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tree.pas1620 DOWN = TToken.DOWN;
1621 UP = TToken.UP;
2122 FINVALID_NODE := TCommonTree.Create(TToken.INVALID_TOKEN);
2562 Result := TToken.INVALID_TOKEN_TYPE
2602 if (GetTokenType = TToken.INVALID_TOKEN_TYPE) then
2618 and (AStop.TokenType <> TToken.EOF))
2642 if (FStop.TokenType = TToken.EOF) then
2651 Result := TToken.INVALID_TOKEN_TYPE;
2940 Result := TToken.INVALID_TOKEN_TYPE
3025 if (TokenType = TToken.DOWN) then
[all …]
DAntlr.Runtime.pas1926 TToken = class sealed class
1987 DEFAULT_TOKEN_CHANNEL = TToken.DEFAULT_CHANNEL;
1988 HIDDEN = TToken.HIDDEN_CHANNEL;
2978 if (Expecting = TToken.INVALID_TOKEN_TYPE) then
3864 FChannel := TToken.DEFAULT_CHANNEL;
3890 FChannel := TToken.DEFAULT_CHANNEL;
4165 class procedure TToken.Initialize;
4212 while (TType <> TToken.EOF) and (TType <> TokenType) do
4233 if LocalFollowSet.Member(TToken.EOR_TOKEN_TYPE) then
4238 Result.Remove(TToken.EOR_TOKEN_TYPE);
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DASTTreeParser.stg95 if (Input.LA(1) = TToken.DOWN) then
97 Match(Input, TToken.DOWN, nil); <checkRuleBacktrackFailure()>
99 Match(Input, TToken.UP, nil); <checkRuleBacktrackFailure()>
102 Match(Input, TToken.DOWN, nil); <checkRuleBacktrackFailure()>
104 Match(Input, TToken.UP, nil); <checkRuleBacktrackFailure()>
DDelphi.stg246 Exit(TToken.EOF_TOKEN);
249 State.Channel := TToken.DEFAULT_CHANNEL;
1115 <label> := TCommonToken.Create(Input, TToken.INVALID_TOKEN_TYPE, TToken.DEFAULT_CHANNEL, Locals.AsI…
1179 <label> := TCommonToken.Create(Input, TToken.INVALID_TOKEN_TYPE, TToken.DEFAULT_CHANNEL,
1197 Locals['<label>'] := TCommonToken.Create(Input, EOF, TToken.DEFAULT_CHANNEL, Locals.AsInteger['<lab…
1209 if (Input.LA(1) = TToken.DOWN) then
1211 Match(Input, TToken.DOWN, nil); <checkRuleBacktrackFailure()>
1213 Match(Input, TToken.UP, nil); <checkRuleBacktrackFailure()>
1216 Match(Input, TToken.DOWN, nil); <checkRuleBacktrackFailure()>
1218 Match(Input, TToken.UP, nil);<\n><checkRuleBacktrackFailure()>