Uses of Class
dev.civl.abc.token.IF.SourceFile
Packages that use SourceFile
Package
Description
Module ast defines an Abstract Syntax Tree
representation of a program, the
AST.Module parse is used to parse a token stream and
produce an ANTLR tree representation of a C program.
Module token defines the various kinds of tokens and related
classes used by ABC.
-
Uses of SourceFile in dev.civl.abc.ast.IF
Methods in dev.civl.abc.ast.IF that return types with arguments of type SourceFileModifier and TypeMethodDescriptionAST.getSourceFiles()Gets the set ofSourceFiles that formed the source for this AST.Method parameters in dev.civl.abc.ast.IF with type arguments of type SourceFileModifier and TypeMethodDescriptionASTFactory.newAST(SequenceNode<BlockItemNode> root, Collection<SourceFile> sourceFiles, boolean isWholeprogram) Creates a new AST with the given root node. -
Uses of SourceFile in dev.civl.abc.front.IF
Methods in dev.civl.abc.front.IF that return types with arguments of type SourceFileModifier and TypeMethodDescriptionParseTree.getSourceFiles()The source files from which this parse tree was derived. -
Uses of SourceFile in dev.civl.abc.token.IF
Methods in dev.civl.abc.token.IF that return SourceFileModifier and TypeMethodDescriptionGets theSourceFileobject corresponding to the canonical form of the givenFile.Inclusion.getFile()Returns the file which was#include-d.Macro.getFile()Returns the file in which this macro definition occurs.Formation.getLastFile()In the sequence of files that led, through inclusions and macro expansions, to the creation of the token, this returns the last file.Iffile(canonicalized) is already managed by this indexer, gets the correspondingSourceFile, else it creates a newSourceFilewrappingFile, adds thatSourceFileto this indexer, and returns it.CivlcToken.getSourceFile()Returns the file that actually contains the token.FileIndexer.getSourceFile(int index) Get the source file with the given index (ID number).Methods in dev.civl.abc.token.IF that return types with arguments of type SourceFileModifier and TypeMethodDescriptionCivlcTokenSource.getSourceFiles()Returns the set of source files that were used to create this token source.FileIndexer.getSourceFilesWithName(String name) Returns an ordered list of allSourceFiles managed by this indexer that have the given file name.Methods in dev.civl.abc.token.IF with parameters of type SourceFileModifier and TypeMethodDescriptionintSourceFile.compareTo(SourceFile o) TokenFactory.newFunctionMacro(org.antlr.runtime.tree.Tree definitionNode, SourceFile file) TokenFactory.newInclusion(SourceFile file) Inclusion record for original source file.TokenFactory.newInclusion(SourceFile file, CivlcToken includeToken) TokenFactory.newObjectMacro(org.antlr.runtime.tree.Tree definitionNode, SourceFile file)