coins.ast
クラス Pragma
java.lang.Object
|
+--coins.ast.ASTree
|
+--coins.ast.Pragma
- すべての実装インタフェース:
- java.io.Serializable, Stmnt
- public class Pragma
- extends ASTree
- implements Stmnt
Pragma.
- 関連項目:
- 直列化された形式
コンストラクタの概要 |
Pragma(java.lang.String text,
java.lang.String name,
int line)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Pragma
public Pragma(java.lang.String text,
java.lang.String name,
int line)
accept
public void accept(Visitor v)
- クラス
ASTree
の記述:
- Is a method for the visitor pattern. It calls
atXXX()
on the given visitor, where
XXX
is the class name of the node object.
- 定義:
- クラス
ASTree
内の accept
getText
public java.lang.String getText()
fileName
public java.lang.String fileName()
- インタフェース
Stmnt
の記述:
- Returns the file name including the statement.
- 定義:
- インタフェース
Stmnt
内の fileName
lineNumber
public int lineNumber()
- インタフェース
Stmnt
の記述:
- Returns the line number of the statement.
- 定義:
- インタフェース
Stmnt
内の lineNumber
getLeft
public ASTree getLeft()
- 定義:
- クラス
ASTree
内の getLeft
getRight
public ASTree getRight()
- 定義:
- クラス
ASTree
内の getRight
setLeft
public void setLeft(ASTree _left)
- 定義:
- クラス
ASTree
内の setLeft
setRight
public void setRight(ASTree _right)
- 定義:
- クラス
ASTree
内の setRight
toString
public java.lang.String toString()
- オーバーライド:
- クラス
ASTree
内の toString