Uses of Interface
dev.civl.abc.token.IF.CivlcTokenSource
Packages that use CivlcTokenSource
Package
Description
Submodule ast.node defines every kind of
node in an 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 CivlcTokenSource in dev.civl.abc.ast.node.IF
Methods in dev.civl.abc.ast.node.IF that return CivlcTokenSourceModifier and TypeMethodDescriptionPragmaNode.newTokenSource()Returns the tokens of the pragma body as aCivlcTokenSource, which can then be fed into an ANTLR parser for syntactic analysis. -
Uses of CivlcTokenSource in dev.civl.abc.front.IF
Methods in dev.civl.abc.front.IF that return CivlcTokenSourceModifier and TypeMethodDescriptionParseTree.getCivlcTokenSource()gets the Civlc token source associating with this parse tree, i.e., the CToken source that was used to produce this parse tree.Preprocessor.preprocess(File[] systemIncludePaths, File[] userIncludePaths, Map<String, String> predefinedMacros, File[] sourceFiles) Given preprocessor source files, this returns a Token Source that emits the tokens resulting from preprocessing the file.Preprocessor.preprocessLibrary(Map<String, String> predefinedMacros, String libraryFileName) Methods in dev.civl.abc.front.IF with parameters of type CivlcTokenSourceModifier and TypeMethodDescriptionParser.parse(CivlcTokenSource tokenSource) Returns the parse tree resulting from parsing the input, after some "post-processing" has been done to the tree to fill in some fields. -
Uses of CivlcTokenSource in dev.civl.abc.token.IF
Methods in dev.civl.abc.token.IF that return CivlcTokenSourceModifier and TypeMethodDescriptionTokenFactory.getCivlcTokenSourceByTokens(List<? extends org.antlr.runtime.Token> tokens, Formation formation) creates a CivlC Token Source based on a give list of tokens (not necessarily CivlC token).CivlcTokenSequence.newSource()Returns a newCivlcTokenSourcewhich produces the tokens in this sequence, in order, with an "EOF" token appended.Methods in dev.civl.abc.token.IF with parameters of type CivlcTokenSourceModifier and TypeMethodDescriptionTokenFactory.getEmptyTokenSubsequence(CivlcTokenSource originalSource) TokenFactory.getTokenSubsequence(CivlcTokenSource fullSource, CivlcToken startToken, CivlcToken stopToken)