kiama.example.oberon0.compiler.AST

class Declaration

[source: kiama/example/oberon0/compiler/AST.scala]

abstract class Declaration(name : java.lang.String)
extends Attributable with PrettyPrintable
Direct Known Subclasses:
AST.ConstDecl, AST.VarDecl, AST.RefVarDecl, AST.TypeDecl, AST.FieldDecl, AST.ModuleDecl, AST.ProcDecl, AST.BuiltInProcDecl, AST.UnknownDecl

Value Summary
var byteOffset : Int
Values and Variables inherited from Attributable
parent, _next, index
Values and Variables inherited from scala.util.parsing.input.Positional
scala.util.parsing.input.Positional.pos
Method Summary
def getName : java.lang.String
override def pretty (o : scala.StringBuilder, indent : Int) : Unit
Pretty-print the object at the end of the given string builder.
Methods inherited from PrettyPrintable
printTabs, printList
Methods inherited from Attributable
parent, isRoot, prev, next, isFirst, isLast, children, ->
Methods inherited from scala.util.parsing.input.Positional
scala.util.parsing.input.Positional.setPos
Methods inherited from scala.Product
scala.Product.productElement (abstract), scala.Product.productArity (abstract), scala.Product.productPrefix
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
var byteOffset : Int

Method Details
override def pretty(o : scala.StringBuilder, indent : Int) : Unit
Pretty-print the object at the end of the given string builder.
Overrides
PrettyPrintable.pretty

def getName : java.lang.String