net.jangaroo.jooc.ast
Class Directive

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
      extended by net.jangaroo.jooc.ast.Directive
All Implemented Interfaces:
AstNode
Direct Known Subclasses:
Annotation, ImportDirective, Statement, UseNamespaceDirective

public abstract class Directive
extends NodeImplBase

Directives are language elements that can have an effect at compile time, load time or runtime.

Most directives have at least an effect at runtime, and are therefore Statements. The Directives which do only have an effect at compile and/or load time (and are therefore not Statements) are import and namespace directives.

todo is Annotation (Adobe: Metadata) really a Directive?

Author:
Andreas Gawecki

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
Directive()
           
 
Method Summary
 boolean isClassMember()
           
 boolean isStatic()
           
 void setClassMember(boolean classMember)
           
 
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, analyze, getChildren, getParentNode, makeChildren, scope, 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
getSymbol, scope, visit
 

Constructor Detail

Directive

public Directive()
Method Detail

isClassMember

public boolean isClassMember()

setClassMember

public void setClassMember(boolean classMember)

isStatic

public boolean isStatic()


Copyright © 2002-2013 CoreMedia AG. All Rights Reserved.