/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/concretesyntaxmodel/ |
D | CsmToken.java | 34 private final int tokenType; field in CsmToken 43 return tokenType; in getTokenType() 53 public CsmToken(int tokenType) { in CsmToken() argument 54 this.tokenType = tokenType; in CsmToken() 55 this.content = GeneratedJavaParserConstants.tokenImage[tokenType]; in CsmToken() 59 if (isEndOfLineToken(tokenType)) { in CsmToken() 61 } else if (isSpaceOrTab(tokenType)) { in CsmToken() 66 public CsmToken(int tokenType, String content) { in CsmToken() argument 67 this.tokenType = tokenType; in CsmToken() 71 public CsmToken(int tokenType, TokenContentCalculator tokenContentCalculator) { in CsmToken() argument [all …]
|
D | CsmElement.java | 51 static CsmElement string(int tokenType, String content) { in string() argument 52 return new CsmToken(tokenType, content); in string() 55 static CsmElement string(int tokenType) { in string() argument 56 return new CsmToken(tokenType); in string() 67 static CsmElement token(int tokenType) { in token() argument 68 return new CsmToken(tokenType); in token() 71 static CsmElement token(int tokenType, CsmToken.TokenContentCalculator tokenContentCalculator) { in token() argument 72 return new CsmToken(tokenType, tokenContentCalculator); in token()
|
/external/antlr/runtime/ObjC/Framework/ |
D | DebugTreeAdaptor.m | 148 - (id<BaseTree>) newTreeWithTokenType:(NSInteger)tokenType 150 id<BaseTree> newTree = [treeAdaptor newTreeWithTokenType:tokenType]; 151 [debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] text:nil type:tokenType]; 155 - (id<BaseTree>) newTreeWithTokenType:(NSInteger)tokenType text:(NSString *)tokenText 157 id<BaseTree> newTree = [treeAdaptor newTreeWithTokenType:tokenType text:tokenText]; 158 [debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] text:tokenText type:tokenType]; 161 - (id<BaseTree>) newTreeWithToken:(id<Token>)fromToken tokenType:(NSInteger)tokenType 163 id<BaseTree> newTree = [treeAdaptor newTreeWithToken:fromToken tokenType:tokenType]; 164 …[debugListener createNode:[treeAdaptor uniqueIdForTree:newTree] text:fromToken.text type:tokenType… 168 - (id<BaseTree>) newTreeWithToken:(id<Token>)fromToken tokenType:(NSInteger)tokenType text:(NSStrin… [all …]
|
D | TreeAdaptor.h | 107 - (id) createTree:(NSInteger)tokenType FromToken:(id<Token>)fromToken; 108 - (id) createTree:(NSInteger)tokenType FromToken:(id<Token>)fromToken Text:(NSString *)text; 109 - (id) createTree:(NSInteger)tokenType Text:(NSString *)text; 117 - (void) setType:(id)aNode Type:(NSInteger)tokenType;
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | BaseTreeAdaptor.cs | 198 public virtual object Create(int tokenType, IToken fromToken) { in Create() argument 201 fromToken.Type = tokenType; in Create() 206 public virtual object Create(int tokenType, IToken fromToken, string text) { in Create() argument 208 return Create(tokenType, text); in Create() 211 fromToken.Type = tokenType; in Create() 217 public virtual object Create(int tokenType, string text) { in Create() argument 218 IToken fromToken = CreateToken(tokenType, text); in Create() 283 public abstract IToken CreateToken(int tokenType, string text); in CreateToken() argument
|
D | ITreeAdaptor.cs | 206 object Create(int tokenType, IToken fromToken); in Create() argument 218 object Create(int tokenType, IToken fromToken, string text); in Create() argument 230 object Create(int tokenType, string text); in Create() argument
|
D | TreeWizard.cs | 565 int tokenType = adaptor.getType( node ); in fillReverseIndex() 567 tokenTypesToReverseIndex.Contains( tokenType ) ) ) in fillReverseIndex() 573 … if ( !tokenTypeToStreamIndexesMap.TryGetValue( tokenType, out indexes ) || indexes == null ) in fillReverseIndex() 577 tokenTypeToStreamIndexesMap[tokenType] = indexes; in fillReverseIndex() 596 public void reverseIndex( int tokenType ) in reverseIndex() argument 606 tokenTypesToReverseIndex.add( tokenType ); in reverseIndex() 637 int tokenType = adaptor.getType( node ); in getNodeIndex() 639 … if ( !tokenTypeToStreamIndexesMap.TryGetValue( tokenType, out indexes ) || indexes == null ) in getNodeIndex()
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3commontreeadaptor.hpp | 71 TreeType* createTypeToken( ANTLR_UINT32 tokenType, CommonTokenType* fromToken); 72 …TreeType* createTypeTokenText ( ANTLR_UINT32 tokenType, CommonTokenType* fromToken, const ANTL… 73 TreeType* createTypeText ( ANTLR_UINT32 tokenType, const ANTLR_UINT8* text); 88 CommonTokenType* createToken( ANTLR_UINT32 tokenType, const ANTLR_UINT8* text); 147 TreeType* createTypeToken(ANTLR_UINT32 tokenType, CommonTokenType* fromToken); 148 …TreeType* createTypeTokenText(ANTLR_UINT32 tokenType, CommonTokenType* fromToken, ANTLR_UINT8* tex… 149 TreeType* createTypeText( ANTLR_UINT32 tokenType, ANTLR_UINT8* text);
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | BaseTreeAdaptor.java | 191 public Object create(int tokenType, Token fromToken) { in create() argument 194 fromToken.setType(tokenType); in create() 200 public Object create(int tokenType, Token fromToken, String text) { in create() argument 201 if (fromToken == null) return create(tokenType, text); in create() 203 fromToken.setType(tokenType); in create() 210 public Object create(int tokenType, String text) { in create() argument 211 Token fromToken = createToken(tokenType, text); in create() 281 public abstract Token createToken(int tokenType, String text); in createToken() argument
|
D | TreeParser.java | 116 int tokenType = input.getTreeAdaptor().getType(look); in matchAny() local 117 while ( tokenType!=Token.EOF && !(tokenType==UP && level==0) ) { in matchAny() 120 tokenType = input.getTreeAdaptor().getType(look); in matchAny() 121 if ( tokenType == DOWN ) { in matchAny() 124 else if ( tokenType == UP ) { in matchAny()
|
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/ |
D | TreeParser.js | 64 tokenType = this.input.getTreeAdaptor().getType(look); 65 while ( tokenType!==org.antlr.runtime.Token.EOF && 66 !(tokenType===TP.UP && level===0) ) 70 tokenType = this.input.getTreeAdaptor().getType(look); 71 if ( tokenType === TP.DOWN ) { 74 else if ( tokenType === TP.UP ) {
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/ |
D | SmaliLexer.java | 84 private IElementType mapTokenTypeToElementType(int tokenType) { in mapTokenTypeToElementType() argument 85 if (tokenType == smaliParser.WHITE_SPACE) { in mapTokenTypeToElementType() 88 if (tokenType == smaliParser.INVALID_TOKEN) { in mapTokenTypeToElementType() 91 if (tokenType == smaliParser.EOF) { in mapTokenTypeToElementType() 94 return SmaliTokens.getElementType(tokenType); in mapTokenTypeToElementType()
|
D | SmaliHighlighter.java | 46 @NotNull @Override public TextAttributesKey[] getTokenHighlights(IElementType tokenType) { in getTokenHighlights() argument 47 if (tokenType instanceof SmaliLexicalElementType) { in getTokenHighlights() 48 return ((SmaliLexicalElementType) tokenType).textAttributesKeys; in getTokenHighlights()
|
/external/antlr/runtime/C/src/ |
D | antlr3basetreeadaptor.c | 58 …REE createTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_… 59 …E dbgCreateTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_… 60 … createTypeTokenText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_… 61 …bgCreateTypeTokenText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_… 62 …TREE createTypeText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 t… 63 …EE dbgCreateTypeText (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 t… 760 createTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKEN f… in createTypeToken() argument 768 fromToken->setType(fromToken, tokenType); in createTypeToken() 775 dbgCreateTypeToken (pANTLR3_BASE_TREE_ADAPTOR adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_TOKE… in dbgCreateTypeToken() argument 779 t = createTypeToken(adaptor, tokenType, fromToken); in dbgCreateTypeToken() [all …]
|
/external/nist-sip/java/gov/nist/core/ |
D | Token.java | 39 protected int tokenType; field in Token 44 return this.tokenType; in getTokenType() 47 return "tokenValue = " + tokenValue + "/tokenType = " + tokenType; in toString()
|
D | LexerCore.java | 181 tok.tokenType = type.intValue(); in peekNextToken() 183 tok.tokenType = ID; in peekNextToken() 188 tok.tokenType = ALPHA; in peekNextToken() 190 tok.tokenType = DIGIT; in peekNextToken() 192 tok.tokenType = (int) nextChar; in peekNextToken() 216 this.currentMatch.tokenType = ID; in match() 223 this.currentMatch.tokenType = SAFE; in match() 234 this.currentMatch.tokenType = tok; in match() 245 this.currentMatch.tokenType = tok; in match() 254 this.currentMatch.tokenType = tok; in match()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | BaseTreeAdaptor.cs | 242 public virtual object Create( int tokenType, IToken fromToken ) in Create() argument 245 fromToken.Type = tokenType; in Create() 250 public virtual object Create( int tokenType, IToken fromToken, string text ) in Create() argument 253 return Create( tokenType, text ); in Create() 256 fromToken.Type = tokenType; in Create() 273 public virtual object Create( int tokenType, string text ) in Create() argument 275 IToken fromToken = CreateToken( tokenType, text ); in Create() 371 public abstract IToken CreateToken( int tokenType, string text ); in CreateToken() argument
|
D | TreeWizard.cs | 642 int tokenType = adaptor.getType( node ); in fillReverseIndex() 644 tokenTypesToReverseIndex.Contains( tokenType ) ) ) in fillReverseIndex() 650 … if ( !tokenTypeToStreamIndexesMap.TryGetValue( tokenType, out indexes ) || indexes == null ) in fillReverseIndex() 654 tokenTypeToStreamIndexesMap[tokenType] = indexes; in fillReverseIndex() 673 public void reverseIndex( int tokenType ) in reverseIndex() argument 683 tokenTypesToReverseIndex.add( tokenType ); in reverseIndex() 714 int tokenType = adaptor.getType( node ); in getNodeIndex() 716 … if ( !tokenTypeToStreamIndexesMap.TryGetValue( tokenType, out indexes ) || indexes == null ) in getNodeIndex()
|
D | ITreeAdaptor.cs | 75 object Create(int tokenType, IToken fromToken); in Create() argument 87 object Create(int tokenType, IToken fromToken, string text); in Create() argument 111 object Create(int tokenType, string text); in Create() argument
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
D | DebugTreeAdaptor.cs | 146 public virtual object Create(int tokenType, IToken fromToken) { in Create() argument 147 object node = adaptor.Create(tokenType, fromToken); in Create() 152 public virtual object Create(int tokenType, IToken fromToken, string text) { in Create() argument 153 object node = adaptor.Create(tokenType, fromToken, text); in Create() 158 public virtual object Create(int tokenType, string text) { in Create() argument 159 object node = adaptor.Create(tokenType, text); in Create()
|
/external/icu/icu4c/source/i18n/ |
D | plurrule_impl.h | 120 enum tokenType { enum 165 static tokenType getKeyType(const UnicodeString& token, tokenType type); 166 static tokenType charType(UChar ch); 172 tokenType type; 173 tokenType prevType; 246 PluralOperand tokenTypeToPluralOperand(tokenType tt); 342 tokenType digitsType = none; // n | i | v | f constraint.
|
/external/icu/libicu/cts_headers/ |
D | plurrule_impl.h | 120 enum tokenType { enum 165 static tokenType getKeyType(const UnicodeString& token, tokenType type); 166 static tokenType charType(UChar ch); 172 tokenType type; 173 tokenType prevType; 246 PluralOperand tokenTypeToPluralOperand(tokenType tt); 342 tokenType digitsType = none; // n | i | v | f constraint.
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
D | DebugTreeAdaptor.cs | 186 public virtual object Create( int tokenType, IToken fromToken ) in Create() argument 188 object node = adaptor.Create( tokenType, fromToken ); in Create() 193 public virtual object Create( int tokenType, IToken fromToken, string text ) in Create() argument 195 object node = adaptor.Create( tokenType, fromToken, text ); in Create() 200 public virtual object Create( int tokenType, string text ) in Create() argument 202 object node = adaptor.Create( tokenType, text ); in Create()
|
/external/antlr/runtime/C/include/ |
D | antlr3basetreeadaptor.h | 94 …oken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_… 95 …nText) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, ANTLR3_UINT32 tokenType, pANTLR3_COMMON_… 96 …Text) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 t… 119 …ken) (struct ANTLR3_BASE_TREE_ADAPTOR_struct * adaptor, ANTLR3_UINT32 tokenType, pANTLR3_UINT8 t…
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | DebugTreeAdaptor.java | 153 public Object create(int tokenType, Token fromToken) { in create() argument 154 Object node = adaptor.create(tokenType, fromToken); in create() 160 public Object create(int tokenType, Token fromToken, String text) { in create() argument 161 Object node = adaptor.create(tokenType, fromToken, text); in create() 167 public Object create(int tokenType, String text) { in create() argument 168 Object node = adaptor.create(tokenType, text); in create()
|