public final class DetailAST
extends antlr.CommonAST
コンストラクタと説明 |
---|
DetailAST() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
addChild(antlr.collections.AST aAST) |
boolean |
branchContains(int aType)
Checks if this branch of the parse tree contains a token
of the provided type.
|
DetailAST |
findFirstToken(int aType)
Returns the first child token that makes a specified type.
|
int |
getChildCount()
Returns the number of child nodes one level below this node.
|
int |
getChildCount(int aType)
Returns the number of direct child tokens that have the specified type.
|
int |
getColumnNo() |
DetailAST |
getFirstChild() |
DetailAST |
getLastChild() |
int |
getLineNo() |
DetailAST |
getNextSibling() |
DetailAST |
getParent()
Returns the parent token.
|
DetailAST |
getPreviousSibling()
Returns the previous sibling or null if no such sibling exists.
|
void |
initialize(antlr.collections.AST aAST) |
void |
initialize(antlr.Token aTok) |
void |
setFirstChild(antlr.collections.AST aAST) |
void |
setNextSibling(antlr.collections.AST aAST) |
String |
toString() |
decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getColumn, getLine, getNumberOfChildren, getTokenNames, removeChildren, setVerboseStringConversion, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
public void initialize(antlr.Token aTok)
initialize
インタフェース内 antlr.collections.AST
initialize
クラス内 antlr.CommonAST
public void initialize(antlr.collections.AST aAST)
initialize
インタフェース内 antlr.collections.AST
initialize
クラス内 antlr.CommonAST
public void setFirstChild(antlr.collections.AST aAST)
setFirstChild
インタフェース内 antlr.collections.AST
setFirstChild
クラス内 antlr.BaseAST
public void setNextSibling(antlr.collections.AST aAST)
setNextSibling
インタフェース内 antlr.collections.AST
setNextSibling
クラス内 antlr.BaseAST
public void addChild(antlr.collections.AST aAST)
addChild
インタフェース内 antlr.collections.AST
addChild
クラス内 antlr.BaseAST
public int getChildCount()
public DetailAST getParent()
public int getLineNo()
public int getColumnNo()
public DetailAST getLastChild()
public boolean branchContains(int aType)
aType
- a TokenTypeaType
.public int getChildCount(int aType)
aType
- the token type to matchpublic DetailAST getPreviousSibling()
public DetailAST findFirstToken(int aType)
aType
- the token type to matchpublic String toString()
toString
インタフェース内 antlr.collections.AST
toString
クラス内 antlr.BaseAST
public DetailAST getNextSibling()
getNextSibling
インタフェース内 antlr.collections.AST
getNextSibling
クラス内 antlr.BaseAST
public DetailAST getFirstChild()
getFirstChild
インタフェース内 antlr.collections.AST
getFirstChild
クラス内 antlr.BaseAST
Copyright © 2001-2013. All Rights Reserved.