Uses of Interface
dev.civl.abc.ast.node.IF.SequenceNode
Packages that use SequenceNode
Package
Description
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.node.compound submodule
defines nodes and related classes for representing
compound initializers.
The ast.node.declaration submodule defines nodes
and other object deadling with declarations in a program.
The ast.node.expression submodule defines AST nodes
for representing expressions in a program.
The ast.node.omp submodule defines AST nodes for representing
OpenMP constructs, which are specified in
omp pragmas.The ast.node.statement submodule defines AST
nodes for representing statements in a program.
The ast.node.type submodule defines AST nodes
for representing type constructs in a program.
-
Uses of SequenceNode in dev.civl.abc.ast.IF
Methods in dev.civl.abc.ast.IF that return SequenceNodeModifier and TypeMethodDescriptionAST.getRootNode()Returns the root node of the abstract syntax tree.Methods in dev.civl.abc.ast.IF with parameters of type SequenceNodeModifier and TypeMethodDescriptionASTFactory.newAST(SequenceNode<BlockItemNode> root, Collection<SourceFile> sourceFiles, boolean isWholeprogram) Creates a new AST with the given root node. -
Uses of SequenceNode in dev.civl.abc.ast.node.IF
Methods in dev.civl.abc.ast.node.IF that return SequenceNodeModifier and TypeMethodDescriptionSequenceNode.copy()NodeFactory.newProgramNode(Source source, List<BlockItemNode> definitions) Creates a new node representing an entire program.<T extends ASTNode>
SequenceNode<T> NodeFactory.newSequenceNode(Source source, String name, List<T> nodes) Creates a new sequence node, i.e., a node which has some finite ordered sequence of children belonging to a particular class.NodeFactory.newTranslationUnitNode(Source source, List<BlockItemNode> definitions) Creates a new node representing an entire translation unit.Methods in dev.civl.abc.ast.node.IF with parameters of type SequenceNodeModifier and TypeMethodDescriptionNodeFactory.newAbstractFunctionDefinitionNode(Source source, IdentifierNode name, TypeNode type, SequenceNode<ContractNode> contract, int continuity, SequenceNode<PairNode<ExpressionNode, ExpressionNode>> intervals, StringLiteralNode attr) Creates a new CIVL abstract function definition.NodeFactory.newAllocationNode(Source source, boolean isAllocates, SequenceNode<ExpressionNode> memoryList) Creates a new allocation node, which represents either anallocatesorfreesclause.NodeFactory.newArrayLambdaNode(Source source, TypeNode type, SequenceNode<PairNode<SequenceNode<VariableDeclarationNode>, ExpressionNode>> boundVariableDeclarationList, ExpressionNode restriction, ExpressionNode expression) Constructs a new array lambda expression.NodeFactory.newAssignsNode(Source source, SequenceNode<ExpressionNode> expressionList) Constructs a new node representing an ACSLassignscontract clause.NodeFactory.newBehaviorNode(Source source, IdentifierNode name, SequenceNode<ContractNode> body) creates a behavior node.NodeFactory.newCallEventNode(Source source, IdentifierExpressionNode function, SequenceNode<ExpressionNode> args) Creates a new\callevent nodeNodeFactory.newCivlForNode(Source source, boolean isParallel, DeclarationListNode variables, ExpressionNode domain, StatementNode body, SequenceNode<ContractNode> loopContract) Creates a new instance of the CIVL$foror$parfornode.NodeFactory.newCompletenessNode(Source source, boolean isComplete, SequenceNode<IdentifierNode> idList) creates a completeness clause node, which could becompleteordisjointNodeFactory.newDependsNode(Source source, ExpressionNode condition, SequenceNode<DependsEventNode> eventList) Constructs a new node representing a CIVL-C$dependscontract clause.NodeFactory.newDerivativeExpressionNode(Source source, ExpressionNode function, SequenceNode<PairNode<IdentifierExpressionNode, IntegerConstantNode>> partials, SequenceNode<ExpressionNode> arguments) Constructs a new CIVL-C derivative expression, used to represent the (partial) derivative of a function with respect to any number of variables, evaluated at a point.NodeFactory.newDoLoopNode(Source source, ExpressionNode condition, StatementNode body, SequenceNode<ContractNode> contracts) Constructs a new node representing ado...whileloop.NodeFactory.newEnumerationTypeNode(Source source, IdentifierNode tag, SequenceNode<EnumeratorDeclarationNode> enumerators) Constructs and returns a new enumeration type node.NodeFactory.newFocusLoopNode(Source source, TokenFactory tokenFactory, String focusTag, SequenceNode<ExpressionNode> tagWindow, SequenceNode<ExpressionNode> memoryList) NodeFactory.newForLoopNode(Source source, ForLoopInitializerNode initializer, ExpressionNode condition, ExpressionNode incrementer, StatementNode body, SequenceNode<ContractNode> contracts) Constructs a newforloop node.NodeFactory.newFunctionCallNode(Source source, ExpressionNode function, List<ExpressionNode> arguments, SequenceNode<ExpressionNode> scopeList) Constructs a new function call node.NodeFactory.newFunctionCallNode(Source source, ExpressionNode function, List<ExpressionNode> contextArguments, List<ExpressionNode> arguments, SequenceNode<ExpressionNode> scopeList) Constructs a new kernel function call node.NodeFactory.newFunctionDeclarationNode(Source source, IdentifierNode name, TypeNode type, SequenceNode<ContractNode> contract) Creates a new function declaration with no body (so it is not a function "definition").NodeFactory.newFunctionDefinitionNode(Source source, IdentifierNode name, FunctionTypeNode type, SequenceNode<ContractNode> contract, CompoundStatementNode body) Constructs a new node representing a function definition, i.e., a function declaration with body.NodeFactory.newFunctionTypeNode(Source source, TypeNode returnType, SequenceNode<VariableDeclarationNode> formals, boolean hasIdentifierList) Constructs and returns a new function type node.NodeFactory.newGenericSelectionNode(Source source, ExpressionNode controllingExpression, ExpressionNode defaultExpression, SequenceNode<GenericAssociationNode> genericAssociationList) Constructs a new generic selection node, used to select an expression to evaluate at compile time based on the type of the controlling expression.NodeFactory.newMemoryEventNode(Source source, MemoryEventNode.MemoryEventNodeKind kind, SequenceNode<ExpressionNode> memoryList) creates a new memory event node, which could be either\read,writeorreach.NodeFactory.newOmpFlushNode(Source source, SequenceNode<IdentifierExpressionNode> variables) Creates a new OpenMP flush node, representing#pragma omp flush....NodeFactory.newOmpFunctionReductionNode(Source source, IdentifierExpressionNode function, SequenceNode<IdentifierExpressionNode> variables) Creates a new OpenMP reduction node with an identifier operator (i.e., function names).NodeFactory.newOmpSymbolReductionNode(Source source, OmpReductionNode.OmpReductionOperator operator, SequenceNode<IdentifierExpressionNode> variables) Creates a new OpenMP reduction node with a standard operator.NodeFactory.newOmpThreadprivateNode(Source source, SequenceNode<IdentifierExpressionNode> variables) Creates a new OpenMP threadprivate node.NodeFactory.newPredicateNode(Source source, IdentifierNode identifier, SequenceNode<VariableDeclarationNode> parameters, ExpressionNode body) Creates a newPredicateNodefor ACSL predicatesNodeFactory.newQuantifiedExpressionNode(Source source, QuantifiedExpressionNode.Quantifier quantifier, SequenceNode<PairNode<SequenceNode<VariableDeclarationNode>, ExpressionNode>> boundVariableDeclarationList, ExpressionNode restriction, ExpressionNode expression, SequenceNode<PairNode<ExpressionNode, ExpressionNode>> intervalSequence) Constructs a new quantified expression.NodeFactory.newReadsNode(Source source, SequenceNode<ExpressionNode> expressionList) Constructs a new node representing an ACSLreadscontract clause.NodeFactory.newStructOrUnionTypeNode(Source source, boolean isStruct, IdentifierNode tag, SequenceNode<FieldDeclarationNode> structDeclList) Constructs and returns a new structure or union type node.NodeFactory.newTypedefNameNode(IdentifierNode name, SequenceNode<ExpressionNode> scopeList) Returns a new instance of a typedef name node.NodeFactory.newWhileLoopNode(Source source, ExpressionNode condition, StatementNode body, SequenceNode<ContractNode> contracts) Constructs a new node representing awhileloop.Method parameters in dev.civl.abc.ast.node.IF with type arguments of type SequenceNodeModifier and TypeMethodDescriptionNodeFactory.newArrayLambdaNode(Source source, TypeNode type, SequenceNode<PairNode<SequenceNode<VariableDeclarationNode>, ExpressionNode>> boundVariableDeclarationList, ExpressionNode restriction, ExpressionNode expression) Constructs a new array lambda expression.NodeFactory.newQuantifiedExpressionNode(Source source, QuantifiedExpressionNode.Quantifier quantifier, SequenceNode<PairNode<SequenceNode<VariableDeclarationNode>, ExpressionNode>> boundVariableDeclarationList, ExpressionNode restriction, ExpressionNode expression, SequenceNode<PairNode<ExpressionNode, ExpressionNode>> intervalSequence) Constructs a new quantified expression. -
Uses of SequenceNode in dev.civl.abc.ast.node.IF.acsl
Methods in dev.civl.abc.ast.node.IF.acsl that return SequenceNodeModifier and TypeMethodDescriptionCallEventNode.arguments()the arguments of the function callBehaviorNode.getBody()returns the body of this behavior, which is a sequence of contract nodesDependsNode.getEventList()Gets the list of events specified by this depends clauseFocusLoopTransformNode.getFocusWindow()CompletenessNode.getIDList()The list of behavior IDs associates with this completeness clause.AssignsOrReadsNode.getMemoryList()Gets the list of memory associated with this node.FocusLoopTransformNode.getMemoryList()MemoryEventNode.getMemoryList()PredicateNode.getParameters()The parameters of the predicateAllocationNode.memoryList()Returns the list of memory units associated with this allocation clause. -
Uses of SequenceNode in dev.civl.abc.ast.node.IF.compound
Subinterfaces of SequenceNode in dev.civl.abc.ast.node.IF.compoundModifier and TypeInterfaceDescriptioninterfaceA compound initializer (written with curly braces in C) is used to initialize an array, struct, or union.interfaceA designation node specifies a sequence of designators. -
Uses of SequenceNode in dev.civl.abc.ast.node.IF.declaration
Methods in dev.civl.abc.ast.node.IF.declaration that return SequenceNodeModifier and TypeMethodDescriptionVariableDeclarationNode.constantAlignmentSpecifiers()An object declaration may contain any number of alignment specifiers.FunctionDeclarationNode.getContract()Returns the contract node for this function declaration.AbstractFunctionDefinitionNode.getIntervals()Returns the sequence of interval whose Cartesian product defines the domain on which the function is differentiable.ScopeParameterizedDeclarationNode.parameters()Returns the scope parameters.VariableDeclarationNode.typeAlignmentSpecifiers()An object declaration may contain any number of alignment specifiers.Methods in dev.civl.abc.ast.node.IF.declaration with parameters of type SequenceNodeModifier and TypeMethodDescriptionvoidVariableDeclarationNode.setConstantAlignmentSpecifiers(SequenceNode<ExpressionNode> specifiers) Sets the node that will be returned by methodVariableDeclarationNode.constantAlignmentSpecifiers().voidFunctionDeclarationNode.setContract(SequenceNode<ContractNode> contract) Sets the contract node child of this node to the given node.voidVariableDeclarationNode.setTypeAlignmentSpecifiers(SequenceNode<TypeNode> specifiers) Sets the node that will be returned byVariableDeclarationNode.typeAlignmentSpecifiers(). -
Uses of SequenceNode in dev.civl.abc.ast.node.IF.expression
Methods in dev.civl.abc.ast.node.IF.expression that return SequenceNodeModifier and TypeMethodDescriptionArrayLambdaNode.boundVariableList()the bound variable declaration list, which is a sequence node of pairs of variable declaration list and an optional expression that has domain type.QuantifiedExpressionNode.boundVariableList()the bound variable declaration list, which is a sequence node of pairs of variable declaration list and an optional expression that has domain type.FunctionCallNode.getArguments()Returns the arguments of this function call node, which is a sequence node of expressions.GenericSelectionNode.getAssociationList()FunctionCallNode.getScopeList()Returns the actual scope parameter names used when instantiating a scope-generic functions, as infinvalid input: '<'s1,s2>(...)This will be deprecated soon.QuantifiedExpressionNode.intervalSequence()The following is an experimental field for the$uniformoperator.Methods in dev.civl.abc.ast.node.IF.expression that return types with arguments of type SequenceNodeModifier and TypeMethodDescriptionArrayLambdaNode.boundVariableList()the bound variable declaration list, which is a sequence node of pairs of variable declaration list and an optional expression that has domain type.QuantifiedExpressionNode.boundVariableList()the bound variable declaration list, which is a sequence node of pairs of variable declaration list and an optional expression that has domain type.Methods in dev.civl.abc.ast.node.IF.expression with parameters of type SequenceNodeModifier and TypeMethodDescriptionvoidFunctionCallNode.setArguments(SequenceNode<ExpressionNode> arguments) Updates the actual parameters of the function call node.voidFunctionCallNode.setContextArguments(SequenceNode<ExpressionNode> arguments) Updates the actual execution context parameters of the function call node. -
Uses of SequenceNode in dev.civl.abc.ast.node.IF.omp
Methods in dev.civl.abc.ast.node.IF.omp that return SequenceNodeModifier and TypeMethodDescriptionOmpForNode.assertions()Returns the assertions to be checked before the entry of this loop construct.OmpExecutableNode.copyinList()Returns the list of identifier nodes declared bycopyinclause.OmpExecutableNode.copyprivateList()Returns the list of identifier nodes declared bycopyprivateclause.OmpExecutableNode.firstprivateList()Returns the list of identifier nodes declared byfirstprivateclause.OmpSyncNode.flushedList()The list of variables in the flush construct.OmpExecutableNode.lastprivateList()Returns the list of identifier nodes declared bylastprivateclause.OmpExecutableNode.privateList()Returns the list of identifier nodes declared byprivateclause.OmpExecutableNode.reductionList()Returns the list of identifier nodes declared byreductionclause.OmpExecutableNode.sharedList()Returns the list of identifier nodes declared bysharedclause.OmpDeclarativeNode.variables()Returns a sequence node of identifier expression nodes:threadprivate(x, y, z, ...): a non-empty sequence nodethreadprivate(): an empty sequence nodeOmpReductionNode.variables()Returns the list of variables associated with this clause.Methods in dev.civl.abc.ast.node.IF.omp with parameters of type SequenceNodeModifier and TypeMethodDescriptionvoidOmpForNode.setAssertions(SequenceNode<FunctionCallNode> assertions) Updates the assertions to be checked before the entry of this loop construct.voidOmpExecutableNode.setCopyinList(SequenceNode<IdentifierExpressionNode> list) Updates the copyin list of this node.voidOmpExecutableNode.setCopyprivateList(SequenceNode<IdentifierExpressionNode> list) Updates the copyprivate list of this node.voidOmpExecutableNode.setFirstprivateList(SequenceNode<IdentifierExpressionNode> list) Updates the firstprivate list of this node.voidOmpSyncNode.setFlushedList(SequenceNode<IdentifierExpressionNode> list) Updates the flush list of this construct.voidOmpExecutableNode.setLastprivateList(SequenceNode<IdentifierExpressionNode> list) Updates the lastprivate list of this node.voidOmpDeclarativeNode.setList(SequenceNode<IdentifierExpressionNode> list) Updates the list of variable declared by this directive.voidOmpExecutableNode.setPrivateList(SequenceNode<IdentifierExpressionNode> list) Updates the private list of this node.voidOmpExecutableNode.setReductionList(SequenceNode<OmpReductionNode> list) Updates the reduction list of this node.voidOmpExecutableNode.setSharedList(SequenceNode<IdentifierExpressionNode> list) Updates the shared list of this node. -
Uses of SequenceNode in dev.civl.abc.ast.node.IF.statement
Subinterfaces of SequenceNode in dev.civl.abc.ast.node.IF.statementModifier and TypeInterfaceDescriptioninterfaceA "choose" statement has the form "choose { s1 ...interfaceA compound statement is a sequence of statements and declarations within curly braces: "{ ...interfaceA list of variable declarations, such as might occur as an initializer in aforloop.Methods in dev.civl.abc.ast.node.IF.statement that return SequenceNodeModifier and TypeMethodDescriptionCivlForNode.loopContracts()Optional loop contracts node.LoopNode.loopContracts() -
Uses of SequenceNode in dev.civl.abc.ast.node.IF.type
Methods in dev.civl.abc.ast.node.IF.type that return SequenceNodeModifier and TypeMethodDescriptionEnumerationTypeNode.enumerators()Returns the sequence of enumerators for this enumerated type.FunctionTypeNode.getParameters()The sequence of formal parameter declarations for this function type.TypedefNameNode.getScopeList()Returns the actual scope parameters used in this instances of a scope-generic typedef.StructureOrUnionTypeNode.getStructDeclList()Returns the sequence node for the list of members (fields) for this struct or union type.Methods in dev.civl.abc.ast.node.IF.type with parameters of type SequenceNodeModifier and TypeMethodDescriptionvoidFunctionTypeNode.setParameters(SequenceNode<VariableDeclarationNode> parameters)