Uses of Class
dev.civl.abc.token.IF.SyntaxException
Packages that use SyntaxException
Package
Description
The analysis module provides various algorithms which
analyze an AST, leaving behind information about the AST.
Submodule ast.conversion provides classes for representing
to C's "implicit conversions".
Submodule ast.entity defines entities
(objects of type
Entity),
the abstract things such as types, structures, unions, enumerations,
objects (variables), functions, and so on,
which can be named by identifiers in a program.Module ast defines an Abstract Syntax Tree
representation of a program, the
AST.Submodule ast.node defines every kind of
node in an AST.
The ast.value submodule defines classes for representing
constant values that can occur in a program, such as numeric literals,
characters, strings, pointer constants, and so on.
Module parse is used to parse a token stream and
produce an ANTLR tree representation of a C program.
Module program provides a high-level, mutable,
representation of a program.
Module token defines the various kinds of tokens and related
classes used by ABC.
Module transform defines various kinds of transformations
of an AST.
-
Uses of SyntaxException in dev.civl.abc.analysis.IF
Methods in dev.civl.abc.analysis.IF that throw SyntaxExceptionModifier and TypeMethodDescriptionvoidFocusAnalysisData.addFocusTag(String tag) Adds a new tag entry into the tagMap if not previously there.voidPerforms the analysis on the given AST.static voidAnalysis.performStandardAnalysis(Configurations.Language language, Configuration configuration, AST ast) A convenience method for performing the standard analyses on an AST. -
Uses of SyntaxException in dev.civl.abc.ast.conversion.IF
Methods in dev.civl.abc.ast.conversion.IF that throw SyntaxExceptionModifier and TypeMethodDescriptionConversionFactory.memConversion(ExpressionNode expr) Returns the mem conversion which converts the type of the givenexprto aMemType. -
Uses of SyntaxException in dev.civl.abc.ast.entity.IF
Methods in dev.civl.abc.ast.entity.IF that throw SyntaxExceptionModifier and TypeMethodDescriptionintScope.add(TaggedEntity entity) Adds a tagged entity (an enumeration, structure, or union) to this scope. -
Uses of SyntaxException in dev.civl.abc.ast.IF
Methods in dev.civl.abc.ast.IF that throw SyntaxExceptionModifier and TypeMethodDescriptionASTFactory.newAST(SequenceNode<BlockItemNode> root, Collection<SourceFile> sourceFiles, boolean isWholeprogram) Creates a new AST with the given root node.ASTFactory.newStringLiteralNode(Formation formation, String representation) Produces a newStringLiteralNode. -
Uses of SyntaxException in dev.civl.abc.ast.node.IF
Methods in dev.civl.abc.ast.node.IF that throw SyntaxExceptionModifier and TypeMethodDescriptionNodeFactory.getConstantValue(ExpressionNode expression) If the expression can be evaluated statically to yield a constant value, this method returns that value, else it returns null.NodeFactory.newFloatingConstantNode(Source source, String representation) Constructs a new floating constant node.NodeFactory.newIntegerConstantNode(Source source, String representation) Constructs a new integer constant node. -
Uses of SyntaxException in dev.civl.abc.ast.node.IF.acsl
Methods in dev.civl.abc.ast.node.IF.acsl that throw SyntaxExceptionModifier and TypeMethodDescriptionTransformNode.transform(List<BlockItemNode> items) Apply the transformation this node is representing to some ast. -
Uses of SyntaxException in dev.civl.abc.ast.value.IF
Methods in dev.civl.abc.ast.value.IF that throw SyntaxExceptionModifier and TypeMethodDescriptionValueFactory.addressValue(ExpressionNode lhs) ValueFactory.evaluate(ExpressionNode constantExpression) Evaluates a constant expression. -
Uses of SyntaxException in dev.civl.abc.front.IF
Methods in dev.civl.abc.front.IF that return SyntaxExceptionModifier and TypeMethodDescriptionParseTree.newSyntaxException(String message, org.antlr.runtime.tree.CommonTree tree) Creates a new syntax exception.Methods in dev.civl.abc.front.IF that throw SyntaxExceptionModifier and TypeMethodDescriptionASTBuilder.getTranslationUnit(ParseTree tree) Builds the AST specified by aParseTreewhich represents a translation unit. -
Uses of SyntaxException in dev.civl.abc.program.IF
Methods in dev.civl.abc.program.IF that throw SyntaxExceptionModifier and TypeMethodDescriptionvoidProgram.apply(Transformer transformer) Transforms this program using the given Transformer.voidProgram.apply(Iterable<Transformer> transformers) Applies the given sequence of transformers to this program.voidProgram.applyTransformer(String code) Transforms program using the transformer specifid by the unique code.voidProgram.applyTransformers(Iterable<String> codes) Applies the sequence of transformers specified by the given code sequence to this program.ProgramFactory.newProgram(AST ast) Forms a new program from the given AST.ProgramFactory.newProgram(AST[] asts) Forms a new program by merging the given ASTs. -
Uses of SyntaxException in dev.civl.abc.token.IF
Methods in dev.civl.abc.token.IF that return SyntaxExceptionModifier and TypeMethodDescriptionTokenFactory.newSyntaxException(UnsourcedException e, CivlcToken token) TokenFactory.newSyntaxException(UnsourcedException e, Source source) TokenFactory.newSyntaxException(String message, CivlcToken token) TokenFactory.newSyntaxException(String message, Source source) Methods in dev.civl.abc.token.IF that throw SyntaxExceptionModifier and TypeMethodDescriptionTokenFactory.characterToken(CivlcToken token) TokenFactory.newStringToken(CivlcToken token) TokenFactory.newStringToken(List<CivlcToken> tokens) Constructs a new string literal token (instance ofStringToken) by concatenating a list of string literal tokens. -
Uses of SyntaxException in dev.civl.abc.transform.IF
Methods in dev.civl.abc.transform.IF that throw SyntaxExceptionModifier and TypeMethodDescriptionCombine two ASTs into a single AST.BaseTransformer.newStringLiteralNode(String method, String representation) Transformer.newStringLiteralNode(String method, String representation) Produces a newStringLiteralNode.Apply a transformation to a translation unit.