| Interface | Description |
|---|---|
| MemberSymbol |
A symbol within an aggregate like a class or struct.
|
| Scope |
A scope is a dictionary of symbols that are grouped together by some
lexical construct in the input language.
|
| Symbol |
A generic programming language symbol.
|
| Type |
This interface is a tag that indicates the implementing object
is a kind of type.
|
| TypedSymbol |
This interface tags user-defined symbols that have static type information,
like variables and functions.
|
| Class | Description |
|---|---|
| ArrayType |
An element within a type type such is used in C or Java where we need to
indicate the type is an array of some element type like float[] or User[].
|
| BaseScope |
An abstract base class that houses common functionality for scopes.
|
| BaseSymbol |
An abstract base class used to house common functionality.
|
| ClassSymbol |
A symbol representing the class.
|
| DataAggregateSymbol |
A symbol representing a collection of data like a struct or class.
|
| FieldSymbol |
A field symbol is just a variable that lives inside an aggregate like a
class or struct.
|
| FunctionSymbol |
This symbol represents a function ala C, not a method ala Java.
|
| FunctionType |
For C types like "void (*)(int)", we need that to be a pointer to a function
taking a single integer argument returning void.
|
| GlobalScope |
A scope associated with globals.
|
| InvalidType | |
| LocalScope |
A scope object typically associated with {...} code blocks
|
| MethodSymbol |
A method symbol is a function that lives within an aggregate/class and has a slot number.
|
| ParameterSymbol |
A parameter is just kind of variable used as an argument to a
function or method.
|
| PointerType |
An element in a type tree that represents a pointer to some type,
such as we need for C.
|
| PredefinedScope |
A scope to hold predefined symbols of your language.
|
| PrimitiveType | |
| StringTable |
A unique set of strings mapped to a monotonically increasing index.
|
| SymbolTable |
A marginally useful object to track predefined and global scopes.
|
| SymbolWithScope |
An abstract base class that houses common functionality for
symbols like classes and functions that are both symbols and scopes.
|
| TypeAlias |
A "typedef int I;" in C results in a TypeAlias("I", ptrToIntegerType)
|
| Utils | |
| VariableSymbol |
Copyright © 2016 ANTLR. All Rights Reserved.