AST
node type BooleanLiteral

General Info

Production
BooleanLiteral : Exp ::= <Value:String>;
Type Hierarchy:
java.lang.Object
  extended by AST.ASTNode<ASTNode>
      extended by AST.Exp
          extended by AST.BooleanLiteral
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>

Description

Source
Declared in spec/picojava.ast at line 17

Member Filters

API level:

Aspect:

Constructors

public BooleanLiteral(java.lang.String p0)

Attributes

syn TypeDecl type()
Specified by:type in class Exp
Source
Declared in spec/TypeAnalysis.jrag at line 39
Aspect
TypeAnalysis
Source
Declared in spec/PredefinedTypes.jrag at line 13
Aspect
PredefinedTypes

Methods

public BooleanLiteral clone()
                     throws java.lang.CloneNotSupportedException
Overrides:clone in class Exp
Throws:
java.lang.CloneNotSupportedException
Overrides:copy in class ASTNode<ASTNode>
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class ASTNode<ASTNode>
Returns:
dangling copy of the subtree at this node
public java.lang.String toString()
Overrides:toString in class java.lang.Object
Source
Declared in spec/PrettyPrint.jadd at line 73
Aspect
PrettyPrint
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class Exp
protected int numChildren()
Overrides:numChildren in class Exp
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class Exp
public void flushCache()
Overrides:flushCache in class Exp
public void flushCollectionCache()
Overrides:flushCollectionCache in class Exp
public void setValue(java.lang.String value)
Replaces the lexeme Value.
Parameters:
value - The new value for the lexeme Value.
public java.lang.String getValue()
Retrieves the value for the lexeme Value.
Returns:
The value for the lexeme Value.
Overrides:rewriteTo in class Exp

Fields

protected java.lang.String tokenString_Value
protected int type_visited
protected boolean type_computed
protected int booleanType_visited

Inherited Members