com.google.gxp.compiler.base
Interface Node

All Known Subinterfaces:
Root
All Known Implementing Classes:
AbbrExpression, AbstractNode, AbstractRoot, AttrBundleParam, AttrBundleReference, Attribute, BooleanConstant, BooleanType, BoundCall, BoundImplementsDeclaration, BoundTree, BundleType, Call, CallNamespace.CallElement, ClassImport, CollapseExpression, Concatenation, Conditional, Conditional.Clause, ConstructedConstant, Constructor, ContentFlattenedTree, ContentType, ConvertibleToContent, CppFileImport, CppLibraryImport, CppNamespace.CppElement, EscapedTree, EscapeExpression, ExampleExpression, ExceptionExpression, Expression, ExtractedMessage, Forest, FormalParameter, FormalTypeParameter, GxpNamespace.GxpElement, I18nCheckedTree, IfExpandedTree, ImplementsDeclaration, Import, InstanceType, Interface, IsXmlExpression, JavaAnnotation, JavaNamespace.JavaElement, LoopExpression, MessageExtractedTree, NativeExpression, NativeImplementsDeclaration, NativeType, NoMessage, NullElement, NullRoot, ObjectConstant, OutputElement, OutputNamespace.ParsedOutputElement, PackageImport, Parameter, ParsedAttribute, ParsedElement, ParseTree, PlaceholderEnd, PlaceholderInsertedTree, PlaceholderNode, PlaceholderPivotedTree, PlaceholderStart, ReparentedTree, Schema, SerializableAbstractNode, SpaceCollapsedTree, StringConstant, Template, TemplateType, TextElement, ThrowsDeclaration, Tree, Type, UnboundCall, UnboundImplementsDeclaration, UnextractedMessage, ValidatedCall, ValidatedTree

public interface Node

An artifact generated from some source code. It's probably easiest to think of a Node as an AST node, though most Nodes are only indirectly a result of parsing.


Method Summary
 String getDisplayName()
           
 SourcePosition getSourcePosition()
           
 

Method Detail

getSourcePosition

SourcePosition getSourcePosition()
Returns:
the SourcePosition of this Node.

getDisplayName

String getDisplayName()
Returns:
the name to use for this Node in Alerts.