Home | History | Annotate | Download | only in antlr3

Lines Matching refs:def

67     def __init__(self, elementDescription):
73 def getMessage(self):
80 def __init__(self, elementDescription=None):
114 def getChild(self, i):
118 def getChildCount(self):
122 def getParent(self):
127 def setParent(self, t):
133 def hasAncestor(self, ttype):
138 def getAncestor(self, ttype):
143 def getAncestors(self):
153 def getChildIndex(self):
158 def setChildIndex(self, index):
164 def freshenParentAndChildIndexes(self):
170 def addChild(self, t):
179 def setChild(self, i, t):
185 def deleteChild(self, i):
189 def replaceChildren(self, startChildIndex, stopChildIndex, t):
200 def isNil(self):
209 def getTokenStartIndex(self):
218 def setTokenStartIndex(self, index):
222 def getTokenStopIndex(self):
231 def setTokenStopIndex(self, index):
235 def dupNode(self):
239 def getType(self):
245 def getText(self):
249 def getLine(self):
257 def getCharPositionInLine(self):
261 def toStringTree(self):
265 def toString(self):
286 def createWithPayload(self, payload):
298 def dupNode(self, treeNode):
306 def dupTree(self, tree):
312 def nil(self):
322 def errorNode(self, input, start, stop, exc):
342 def isNil(self, tree):
348 def addChild(self, t, child):
361 def becomeRoot(self, newRoot, oldRoot):
393 def rulePostProcessing(self, root):
412 def getUniqueID(self, node):
425 def createFromToken(self, tokenType, fromToken, text=None):
439 def createFromType(self, tokenType, text):
453 def getType(self, t):
459 def setType(self, t, type):
465 def getText(self, t):
468 def setText(self, t, text):
474 def getToken(self, t):
489 def setTokenBoundaries(self, t, startToken, stopToken):
501 def getTokenStartIndex(self, t):
509 def getTokenStopIndex(self, t):
519 def getChild(self, t, i):
525 def setChild(self, t, i, child):
531 def deleteChild(self, t, i):
537 def getChildCount(self, t):
543 def getParent(self, t):
553 def setParent(self, t, parent):
563 def getChildIndex(self, t):
573 def setChildIndex(self, t, index):
583 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t):
598 def create(self, *args):
686 def __init__(self, node=None):
699 def getChild(self, i):
706 def getChildren(self):
717 def getFirstChildWithType(self, treeType):
725 def getChildCount(self):
729 def addChild(self, childTree):
763 def addChildren(self, children):
769 def setChild(self, i, t):
781 def deleteChild(self, i):
793 def replaceChildren(self, startChildIndex, stopChildIndex, newTree):
839 def isNil(self):
843 def freshenParentAndChildIndexes(self, offset=0):
849 def sanityCheckParentAndChildIndexes(self, parent=None, i=-1):
866 def getChildIndex(self):
872 def setChildIndex(self, index):
878 def getParent(self):
883 def setParent(self, t):
889 def hasAncestor(self, ttype):
893 def getAncestor(self, ttype):
903 def getAncestors(self):
921 def toStringTree(self):
944 def getLine(self):
948 def getCharPositionInLine(self):
952 def toString(self):
968 def nil(self):
972 def errorNode(self, input, start, stop, exc):
989 def isNil(self, tree):
993 def dupTree(self, t, parent=None):
1020 def addChild(self, tree, child):
1037 def becomeRoot(self, newRoot, oldRoot):
1092 def rulePostProcessing(self, root):
1108 def createFromToken(self, tokenType, fromToken, text=None):
1124 def createFromType(self, tokenType, text):
1133 def getType(self, t):
1137 def setType(self, t, type):
1141 def getText(self, t):
1145 def setText(self, t, text):
1149 def getChild(self, t, i):
1153 def setChild(self, t, i, child):
1157 def deleteChild(self, t, i):
1161 def getChildCount(self, t):
1165 def getUniqueID(self, node):
1169 def createToken(self, fromToken=None, tokenType=None, text=None):
1210 def __init__(self, payload):
1241 def getToken(self):
1245 def dupNode(self):
1249 def isNil(self):
1253 def getType(self):
1262 def getText(self):
1271 def getLine(self):
1283 def getCharPositionInLine(self):
1296 def getTokenStartIndex(self):
1302 def setTokenStartIndex(self, index):
1308 def getTokenStopIndex(self):
1314 def setTokenStopIndex(self, index):
1320 def setUnknownTokenBoundaries(self):
1346 def getChildIndex(self):
1351 def setChildIndex(self, idx):
1356 def getParent(self):
1361 def setParent(self, t):
1366 def toString(self):
1379 def toStringTree(self):
1401 def __init__(self, input, start, stop, exc):
1421 def isNil(self):
1425 def getType(self):
1429 def getText(self):
1449 def toString(self):
1488 def dupNode(self, treeNode):
1503 def createWithPayload(self, payload):
1507 def createToken(self, fromToken=None, tokenType=None, text=None):
1524 def setTokenBoundaries(self, t, startToken, stopToken):
1548 def getTokenStartIndex(self, t):
1554 def getTokenStopIndex(self, t):
1560 def getText(self, t):
1566 def getType(self, t):
1573 def getToken(self, t):
1586 def getChild(self, t, i):
1592 def getChildCount(self, t):
1598 def getParent(self, t):
1602 def setParent(self, t, parent):
1606 def getChildIndex(self, t):
1612 def setChildIndex(self, t, index):
1616 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t):
1647 def get(self, i):
1656 def LT(self, k):
1673 def getTreeSource(self):
1682 def getTokenStream(self):
1693 def getTreeAdaptor(self):
1702 def setUniqueNavigationNodes(self, uniqueNavigationNodes):
1714 def reset(self):
1723 def toString(self, start, stop):
1736 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t):
1772 def __init__(self, *args):
1862 def __iter__(self):
1866 def fillBuffer(self):
1875 def _fillBuffer(self, t):
1895 def getNodeIndex(self, node):
1910 def addNavigationNode(self, ttype):
1936 def get(self, i):
1943 def LT(self, k):
1959 def getCurrentSymbol(self):
1963 def LB(self, k):
1975 def isEOF(self, obj):
1979 def getTreeSource(self):
1983 def getSourceName(self):
1987 def getTokenStream(self):
1991 def setTokenStream(self, tokens):
1995 def getTreeAdaptor(self):
1999 def hasUniqueNavigationNodes(self):
2003 def setUniqueNavigationNodes(self, uniqueNavigationNodes):
2007 def consume(self):
2014 def LA(self, i):
2018 def mark(self):
2027 def release(self, marker=None):
2033 def index(self):
2037 def rewind(self, marker=None):
2044 def seek(self, index):
2051 def push(self, index):
2061 def pop(self):
2072 def reset(self):
2078 def size(self):
2087 def replaceChildren(self, parent, startChildIndex, stopChildIndex, t):
2094 def __str__(self):
2105 def toString(self, start, stop):
2166 def __iter__(self):
2188 def __init__(self, input, state=None):
2195 def reset(self):
2201 def setTreeNodeStream(self, input):
2207 def getTreeNodeStream(self):
2211 def getSourceName(self):
2215 def getCurrentInputSymbol(self, input):
2219 def getMissingSymbol(self, input, e, expectedTokenType, follow):
2232 def inContext(self, context, adaptor=None, tokenName=None, t=None):
2251 def _inContext(cls, adaptor, tokenNames, t, context):
2300 def _getAncestor(adaptor, tokenNames, t, goal):
2311 def matchAny(self, ignore): # ignore stream, copy of this.input
2342 def mismatch(self, input, ttype, follow):
2352 def getErrorHeader(self, e):
2367 def getErrorMessage(self, e, tokenNames):
2385 def traceIn(self, ruleName, ruleIndex):
2389 def traceOut(self, ruleName, ruleIndex):
2404 def __init__(self, adaptor=None):
2410 def visit(self, t, pre_action=None, post_action=None):
2455 def __init__(self, tree, adaptor=None):
2475 def reset(self):
2481 def __iter__(self):
2485 def has_next(self):
2502 def next(self):
2580 def __init__(self, adaptor, elementDescription, elements=None):
2614 def reset(self):
2626 def add(self, el):
2645 def nextTree(self):
2666 def _next(self):
2696 def dup(self, el):
2707 def toTree(self, el):
2716 def hasNext(self):
2724 def size(self):
2736 def getDescription(self):
2745 def toTree(self, el):
2751 def nextNode(self):
2756 def nextToken(self):
2760 def dup(self, el):
2767 def nextNode(self):
2800 def dup(self, el):
2811 def nextNode(self):
2815 def toTree(self, el):
2819 def dup(self, el):
2833 def __init__(self):
2838 def getStart(self):
2842 def getTree(self):