- generate() - Method in interface ru.ispras.castle.codegen.FileGenerator
-
Runs generation of a code file.
- generate() - Method in class ru.ispras.castle.codegen.FileGeneratorStringTemplate
-
Generates the target file.
- generateFile(String, String[], StringTemplateBuilder) - Static method in class ru.ispras.castle.codegen.FileGeneratorStringTemplate
-
Generates a file by the specified template.
- getAttribute(String) - Method in class ru.ispras.castle.ast.basis.SyntaxNode
-
Returns the attribute value.
- getChildren() - Method in class ru.ispras.castle.ast.basis.SyntaxNode
-
Returns the collection of the children.
- getChildren(Tag) - Method in class ru.ispras.castle.ast.basis.SyntaxNode
-
Returns the collection of the children of the given tag.
- getDefines() - Method in class ru.ispras.castle.ast.Assignment
-
- getDefines() - Method in class ru.ispras.castle.ast.RangedVariable
-
- getDefines() - Method in interface ru.ispras.castle.ast.UseDef
-
Returns a set of defined variables.
- getFileDir(String) - Static method in class ru.ispras.castle.util.FileUtils
-
- getFileExtension(String) - Static method in class ru.ispras.castle.util.FileUtils
-
- getHigh() - Method in class ru.ispras.castle.ast.Range
-
Returns high index.
- getIndices() - Method in class ru.ispras.castle.ast.RangedVariable
-
Returns the sequence of object's indices.
- getIntegerRange() - Method in class ru.ispras.castle.ast.RangedVariable
-
Returns the integer range of this object.
- getKind() - Method in class ru.ispras.castle.ast.basis.SyntaxNode
-
Returns the kind of the node.
- getLastParentToken() - Method in class ru.ispras.castle.antlr.TokenSourceStack
-
- getLow() - Method in class ru.ispras.castle.ast.Range
-
Returns low index.
- getMax() - Method in class ru.ispras.castle.ast.IntegerRange
-
Returns the upper bound of the range.
- getMin() - Method in class ru.ispras.castle.ast.IntegerRange
-
Returns the lower bound of the range.
- getName() - Method in class ru.ispras.castle.ast.basis.SyntaxNode
-
Returns the name of the node.
- getNormalizedPath(String) - Static method in class ru.ispras.castle.util.FileUtils
-
- getParent() - Method in class ru.ispras.castle.ast.basis.SymbolTable
-
Returns the parent symbol table.
- getParent() - Method in class ru.ispras.castle.ast.basis.SyntaxNode
-
Returns the parent of the node or null
if the node is a root.
- getRange() - Method in class ru.ispras.castle.ast.RangedVariable
-
Returns range.
- getResourceUrl(String) - Static method in class ru.ispras.castle.util.SysUtils
-
Returns an URL for the specified resource file stored in microtesk.jar
.
- getSeparatedDescription(ExprTreePrinter, String) - Method in class ru.ispras.castle.ast.Assignment
-
Returns this assignment description that is presented in format of the specified printer
with the specified separator.
- getShortFileName(String) - Static method in class ru.ispras.castle.util.FileUtils
-
- getShortFileNameNoExt(String) - Static method in class ru.ispras.castle.util.FileUtils
-
- getSource() - Method in class ru.ispras.castle.antlr.TokenSourceStack
-
- getSourceName() - Method in class ru.ispras.castle.antlr.TokenSourceStack
-
- getSupportEmail() - Static method in class ru.ispras.castle.util.Logger
-
- getTag() - Method in class ru.ispras.castle.ast.basis.SyntaxNode
-
Returns the tag of the node.
- getTagType() - Method in class ru.ispras.castle.ast.basis.SyntaxNode
-
Returns the type of the node tag.
- getTarget() - Method in class ru.ispras.castle.ast.Assignment
-
Returns defined ranged variable.
- getUsedVariableNames() - Method in class ru.ispras.castle.ast.Assignment
-
Returns names of variables that are used in this object.
- getUses() - Method in class ru.ispras.castle.ast.Assignment
-
- getUses() - Method in class ru.ispras.castle.ast.RangedVariable
-
- getUses() - Method in interface ru.ispras.castle.ast.UseDef
-
Returns a set of used variables.
- getValue() - Method in class ru.ispras.castle.ast.Assignment
-
Returns value expression.
- getVariable() - Method in class ru.ispras.castle.ast.Assignment
-
Returns defined variable.
- getVariable() - Method in class ru.ispras.castle.ast.RangedVariable
-
Returns variable.
- getVariableName() - Method in class ru.ispras.castle.ast.RangedVariable
-
Returns variable name.
- getVariables() - Method in class ru.ispras.castle.ast.Range
-
Returns variables that are used in this object.
- select(Collection<IntegerRange>, IntegerRange) - Static method in class ru.ispras.castle.ast.IntegerRange
-
Selects all ranges from the the given collection that are within the given bounds.
- setAttribute(String, Object) - Method in class ru.ispras.castle.ast.basis.SyntaxNode
-
Sets the attribute value.
- setAttributes(Map<String, Object>) - Method in class ru.ispras.castle.ast.basis.SyntaxNode
-
Sets the attribute values.
- setDebug(boolean) - Static method in class ru.ispras.castle.util.Logger
-
- setIndices(List<Node>) - Method in class ru.ispras.castle.ast.RangedVariable
-
Sets new sequence on indices.
- setLastParentToken(Token) - Method in class ru.ispras.castle.antlr.TokenSourceStack
-
- setLastParentToken(int, Token) - Method in class ru.ispras.castle.antlr.TokenSourceStack
-
- setListener(Logger.Listener) - Static method in class ru.ispras.castle.util.Logger
-
- setName(String) - Method in class ru.ispras.castle.ast.basis.SyntaxNode
-
Sets the name of the node.
- setParent(SymbolTable<Tag>) - Method in class ru.ispras.castle.ast.basis.SymbolTable
-
Sets the parent symbol table.
- setParent(SyntaxNode<Tag>) - Method in class ru.ispras.castle.ast.basis.SyntaxNode
-
Sets the parent of the node.
- setRange(Range) - Method in class ru.ispras.castle.ast.RangedVariable
-
Sets new range.
- setRange(Node, Node) - Method in class ru.ispras.castle.ast.RangedVariable
-
Sets new range from the pair of the specified nodes.
- setRedefinitionHandler(ErrorHandler<Tag>) - Method in class ru.ispras.castle.ast.basis.SymbolTable
-
Sets the redefinition handler.
- setRedefinitionHandler(ErrorHandler<Tag>) - Method in class ru.ispras.castle.ast.basis.SyntaxNode
-
Sets the redefinition handler.
- setSupportEmail(String) - Static method in class ru.ispras.castle.util.Logger
-
- setValue(Node) - Method in class ru.ispras.castle.ast.Assignment
-
Sets new value expression.
- setVariable(RangedVariable) - Method in class ru.ispras.castle.ast.Assignment
-
Sets the specified variable as objects' target.
- shift(int) - Method in class ru.ispras.castle.ast.IntegerRange
-
Returns the shifted variant of this range ([min + value, max + value]
).
- size() - Method in class ru.ispras.castle.ast.IntegerRange
-
Returns the size of the range.
- source - Variable in class ru.ispras.castle.antlr.TokenSourceStack.TokenSourceEntry
-
- start() - Method in class ru.ispras.castle.ast.basis.SyntaxTreeWalker
-
Starts traversal (depth-first exploration).
- StringTemplateBuilder - Interface in ru.ispras.castle.codegen
-
The
StringTemplateBuilder
interface is a base interface for classes
that are responsible for initialization of StringTemplate objects.
- SymbolTable<Tag extends java.lang.Enum<Tag>> - Class in ru.ispras.castle.ast.basis
-
SymbolTable
implements a simple symbol table based on Java hash tables.
- SymbolTable() - Constructor for class ru.ispras.castle.ast.basis.SymbolTable
-
- SyntaxNode<Tag extends java.lang.Enum<Tag>> - Class in ru.ispras.castle.ast.basis
-
SyntaxNode
represents a basic node of an abstract syntax tree (AST).
- SyntaxNode(Class<Tag>, Tag, EnumSet<Tag>, SyntaxNode.Kind, String, SyntaxNode<Tag>) - Constructor for class ru.ispras.castle.ast.basis.SyntaxNode
-
Creates an AST node.
- SyntaxNode(Class<Tag>, Tag, EnumSet<Tag>, SyntaxNode.Kind, SyntaxNode<Tag>) - Constructor for class ru.ispras.castle.ast.basis.SyntaxNode
-
- SyntaxNode(Class<Tag>, Tag, EnumSet<Tag>, SyntaxNode.Kind) - Constructor for class ru.ispras.castle.ast.basis.SyntaxNode
-
- SyntaxNode(Class<Tag>, Tag, SyntaxNode.Kind) - Constructor for class ru.ispras.castle.ast.basis.SyntaxNode
-
- SyntaxNode(SyntaxNode<Tag>) - Constructor for class ru.ispras.castle.ast.basis.SyntaxNode
-
- SyntaxNode.Kind - Enum in ru.ispras.castle.ast.basis
-
SyntaxNode.Kind
classifies nodes according to the has-name and has-scope flags.
- SyntaxNodeVisitor<Tag extends java.lang.Enum<Tag>> - Interface in ru.ispras.castle.ast.basis
-
- SyntaxNodeVisitor.Result - Enum in ru.ispras.castle.ast.basis
-
- SyntaxTreeWalker<Tag extends java.lang.Enum<Tag>> - Class in ru.ispras.castle.ast.basis
-
- SyntaxTreeWalker(SyntaxNode<Tag>, SyntaxNodeVisitor<Tag>) - Constructor for class ru.ispras.castle.ast.basis.SyntaxTreeWalker
-
Constructs a tree walker.
- SysUtils - Class in ru.ispras.castle.util
-
The
SysUtils
class provides utility methods to interact with the environment.
- SysUtils() - Constructor for class ru.ispras.castle.util.SysUtils
-