org.simantics.databoard.parser.ast.type
Class AstRecordType

java.lang.Object
  extended by org.simantics.databoard.parser.ast.type.AstType
      extended by org.simantics.databoard.parser.ast.type.AstRecordType

public class AstRecordType
extends AstType


Field Summary
 java.util.List<AstComponent> components
           
static AstRecordType EMPTY_RECORD
           
 boolean referable
           
 
Constructor Summary
AstRecordType(boolean referable, java.util.List<AstComponent> components)
           
 
Method Summary
<T> T
accept(AstTypeVisitor<T> v)
           
 void accept(AstTypeVisitorVoid v)
           
 void addComponent(java.lang.String name, AstType type)
           
 
Methods inherited from class org.simantics.databoard.parser.ast.type.AstType
toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_RECORD

public static final AstRecordType EMPTY_RECORD

referable

public boolean referable

components

public final java.util.List<AstComponent> components
Constructor Detail

AstRecordType

public AstRecordType(boolean referable,
                     java.util.List<AstComponent> components)
Method Detail

addComponent

public void addComponent(java.lang.String name,
                         AstType type)

accept

public void accept(AstTypeVisitorVoid v)
Specified by:
accept in class AstType

accept

public <T> T accept(AstTypeVisitor<T> v)
Specified by:
accept in class AstType