Home
last modified time | relevance | path

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

1234

/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DRecognitionException.java108 this.charPositionInLine = token.getCharPositionInLine(); in RecognitionException()
116 this.charPositionInLine = ((CharStream)input).getCharPositionInLine(); in RecognitionException()
150 this.charPositionInLine = priorPayload.getCharPositionInLine(); in extractInformationFromTreeNodeStream()
165 this.charPositionInLine = payload.getCharPositionInLine(); in extractInformationFromTreeNodeStream()
170 this.charPositionInLine = ((Tree)this.node).getCharPositionInLine(); in extractInformationFromTreeNodeStream()
DLexer.java78 state.tokenStartCharPositionInLine = input.getCharPositionInLine(); in nextToken()
117 eof.setCharPositionInLine(getCharPositionInLine()); in getEOFToken()
236 public int getCharPositionInLine() { in getCharPositionInLine() method in Lexer
237 return input.getCharPositionInLine(); in getCharPositionInLine()
347 String inputSymbol = ((char)input.LT(1))+" line="+getLine()+":"+getCharPositionInLine(); in traceIn()
352 String inputSymbol = ((char)input.LT(1))+" line="+getLine()+":"+getCharPositionInLine(); in traceOut()
DClassicToken.java55 charPositionInLine = oldToken.getCharPositionInLine(); in ClassicToken()
96 public int getCharPositionInLine() { in getCharPositionInLine() method in ClassicToken
154 …return "[@"+getTokenIndex()+",'"+txt+"',<"+type+">"+channelStr+","+line+":"+getCharPositionInLine(… in toString()
DCommonToken.java77 charPositionInLine = oldToken.getCharPositionInLine(); in CommonToken()
129 public int getCharPositionInLine() { in getCharPositionInLine() method in CommonToken
204 …x()+","+start+":"+stop+"='"+txt+"',<"+type+">"+channelStr+","+line+":"+getCharPositionInLine()+"]"; in toString()
DCharStream.java56 int getCharPositionInLine(); in getCharPositionInLine() method
DToken.java72 public int getCharPositionInLine(); in getCharPositionInLine() method
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DRecognitionException.js38 this.charPositionInLine = this.token.getCharPositionInLine();
48 this.charPositionInLine = input.getCharPositionInLine();
138 this.charPositionInLine = priorPayload.getCharPositionInLine();
148 this.charPositionInLine = payload.getCharPositionInLine();
153 this.charPositionInLine = this.node.getCharPositionInLine();
DLexer.js42 this.state.tokenStartCharPositionInLine = this.input.getCharPositionInLine();
179 getCharPositionInLine: function() {
180 return this.input.getCharPositionInLine();
276 …l = String.fromCharCode(this.input.LT(1))+" line="+this.getLine()+":"+this.getCharPositionInLine();
281 …l = String.fromCharCode(this.input.LT(1))+" line="+this.getLine()+":"+this.getCharPositionInLine();
DCommonToken.js17 this.charPositionInLine = oldToken.getCharPositionInLine();
72 getCharPositionInLine: function() { method
138 …is.stop+"='"+txt+"',<"+this.type+">"+channelStr+","+this.line+":"+this.getCharPositionInLine()+"]";
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/
DCommonTree.js71 getCharPositionInLine: function() { method
72 if ( !this.token || this.token.getCharPositionInLine()===-1 ) {
74 return this.getChild(0).getCharPositionInLine();
78 return this.token.getCharPositionInLine();
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DCommonTree.java108 public int getCharPositionInLine() { in getCharPositionInLine() method in CommonTree
109 if ( token==null || token.getCharPositionInLine()==-1 ) { in getCharPositionInLine()
111 return getChild(0).getCharPositionInLine(); in getCharPositionInLine()
115 return token.getCharPositionInLine(); in getCharPositionInLine()
DTree.java122 int getCharPositionInLine(); in getCharPositionInLine() method
/external/antlr/tool/src/main/java/org/antlr/codegen/
DPython3Target.java119 if ( nChunks.isEmpty() && actionToken.getCharPositionInLine() >= 0 ) { in postProcessAction()
124 for ( int j = 0 ; j < actionToken.getCharPositionInLine() ; j++ ) { in postProcessAction()
133 if ( nChunks.isEmpty() && actionToken.getCharPositionInLine() >= 0 ) { in postProcessAction()
138 for ( int j = 0 ; j <= actionToken.getCharPositionInLine() ; j++ ) { in postProcessAction()
DPythonTarget.java118 if ( nChunks.isEmpty() && actionToken.getCharPositionInLine() >= 0 ) { in postProcessAction()
123 for ( int j = 0 ; j < actionToken.getCharPositionInLine() ; j++ ) { in postProcessAction()
132 if ( nChunks.isEmpty() && actionToken.getCharPositionInLine() >= 0 ) { in postProcessAction()
137 for ( int j = 0 ; j <= actionToken.getCharPositionInLine() ; j++ ) { in postProcessAction()
/external/antlr/runtime/C/src/
Dantlr3commontree.c47 static ANTLR3_UINT32 getCharPositionInLine (pANTLR3_BASE_TREE tree);
326 tree->baseTree.getCharPositionInLine = getCharPositionInLine; in antlr3SetCTAPI()
487 static ANTLR3_UINT32 getCharPositionInLine (pANTLR3_BASE_TREE tree) in getCharPositionInLine() function
493 if (token == NULL || token->getCharPositionInLine(token) == -1) in getCharPositionInLine()
501 return child->getCharPositionInLine(child); in getCharPositionInLine()
505 return token->getCharPositionInLine(token); in getCharPositionInLine()
Dantlr3commontoken.c47 static ANTLR3_INT32 getCharPositionInLine (pANTLR3_COMMON_TOKEN token);
359 token->getCharPositionInLine = getCharPositionInLine; in antlr3SetTokenAPI()
507 static ANTLR3_INT32 getCharPositionInLine (pANTLR3_COMMON_TOKEN token) in getCharPositionInLine() function
604 outtext->addi (outtext, token->getCharPositionInLine(token)); in toString()
Dantlr3basetree.c38 static ANTLR3_UINT32 getCharPositionInLine
69 tree->getCharPositionInLine = getCharPositionInLine; in antlr3BaseTreeNew()
84 getCharPositionInLine (pANTLR3_BASE_TREE tree) in getCharPositionInLine() function
/external/smali/smali/src/main/java/org/jf/smali/
DSemanticException.java57 this.charPositionInLine = token.getCharPositionInLine(); in SemanticException()
67 this.charPositionInLine = token.getCharPositionInLine(); in SemanticException()
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammarUnreachableAltsMessage.java59 column = decisionASTNode.getCharPositionInLine(); in toString()
77 column = ruleStart.associatedASTNode.getCharPositionInLine(); in toString()
DGrammarAST.java296 public int getCharPositionInLine(){ in getCharPositionInLine() method in GrammarAST
299 col = token.getCharPositionInLine(); in getCharPositionInLine()
304 col = child.getCharPositionInLine(); in getCharPositionInLine()
431 token.getCharPositionInLine() == t.getCharPositionInLine(); in equals()
DGrammarNonDeterminismMessage.java63 column = decisionASTNode.getCharPositionInLine(); in toString()
84 column = ruleStart.associatedASTNode.getCharPositionInLine(); in toString()
DGrammarAnalysisAbortedMessage.java48 column = decisionASTNode.getCharPositionInLine(); in toString()
/external/antlr/runtime/Python/antlr3/
Dtokens.py91 def getCharPositionInLine(self): member in Token
259 def getCharPositionInLine(self): member in CommonToken
364 def getCharPositionInLine(self): member in ClassicToken
/external/antlr/runtime/ObjC/Framework/
DCharStream.h56 - (NSInteger)getCharPositionInLine;
DStringStreamState.h50 - (NSUInteger) getCharPositionInLine;

1234