Package net.jangaroo.jooc.ast
Class ObjectField
- java.lang.Object
-
- net.jangaroo.jooc.ast.NodeImplBase
-
- net.jangaroo.jooc.ast.ObjectField
-
- All Implemented Interfaces:
AstNode,ObjectFieldOrSpread
public class ObjectField extends NodeImplBase implements ObjectFieldOrSpread
- Author:
- Andreas Gawecki
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
-
-
Field Summary
-
Fields inherited from class net.jangaroo.jooc.ast.NodeImplBase
usesInstanceThis
-
-
Constructor Summary
Constructors Constructor Description ObjectField(AstNode label, JooSymbol symColon, Expr value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidanalyze(AstNode parentNode)List<? extends AstNode>getChildren()AstNodegetLabel()JooSymbolgetSymbol()JooSymbolgetSymColon()ExprgetValue()booleanisStandAloneConstant()voidscope(Scope scope)voidvisit(AstVisitor visitor)-
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, getParentNode, isAssignmentLHS, makeChildren, notifyInstanceThisUsed, propagateInstanceThisUsed, scope, usesInstanceThis, withNewDeclarationScope, withNewLabelScope
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.jangaroo.jooc.ast.AstNode
getParentNode, isAssignmentLHS, notifyInstanceThisUsed, usesInstanceThis
-
-
-
-
Method Detail
-
getChildren
public List<? extends AstNode> getChildren()
- Specified by:
getChildrenin interfaceAstNode- Overrides:
getChildrenin classNodeImplBase
-
visit
public void visit(AstVisitor visitor) throws IOException
- Specified by:
visitin interfaceAstNode- Throws:
IOException
-
analyze
public void analyze(AstNode parentNode)
- Specified by:
analyzein interfaceAstNode- Overrides:
analyzein classNodeImplBase
-
isStandAloneConstant
public boolean isStandAloneConstant()
-
getLabel
public AstNode getLabel()
-
getSymColon
public JooSymbol getSymColon()
-
getValue
public Expr getValue()
-
-