Uses of Interface
dev.civl.abc.token.IF.CivlcToken
Packages that use CivlcToken
Package
Description
Submodule ast.node defines every kind of
node in an AST.
Module token defines the various kinds of tokens and related
classes used by ABC.
-
Uses of CivlcToken in dev.civl.abc.ast.node.IF
Methods in dev.civl.abc.ast.node.IF that return CivlcTokenModifier and TypeMethodDescriptionPragmaNode.getNewlineToken()Returns the newline token which terminates this pragma.PragmaNode.getToken(int index) Returns the index-th token in the pragma body.Methods in dev.civl.abc.ast.node.IF that return types with arguments of type CivlcTokenModifier and TypeMethodDescriptionPragmaNode.getTokens()Returns an iterable over the tokens in the pragma body.Methods in dev.civl.abc.ast.node.IF with parameters of type CivlcTokenModifier and TypeMethodDescriptionNodeFactory.newPragmaNode(Source source, IdentifierNode identifier, CivlcTokenSequence producer, CivlcToken newlineToken) Constructs a new pragma node, representing a C#pragmadirective. -
Uses of CivlcToken in dev.civl.abc.token.IF
Subinterfaces of CivlcToken in dev.civl.abc.token.IFModifier and TypeInterfaceDescriptioninterfaceA character token represents a character constant in a source program, e.g.,'a'.interfaceA StringToken is formed from a sequence of one or more CTokens.Methods in dev.civl.abc.token.IF that return CivlcTokenModifier and TypeMethodDescriptionStringification.getArgumentToken(int index) Returns the index-th non-whitespace token in the actual argument.Concatenation.getConstituent(int index) Returns the index-th string literal token in the concatenation.CivlcTokenSequence.getEOFToken()Returns the extra EOF token which is used by methodCivlcTokenSequence.newSource().Source.getFirstToken()Returns the first token in the range of tokens represented by this Source.Inclusion.getIncludeToken()Returns the token containing the file name in the include directive.Source.getLastToken()Returns the last token in the range of tokens represented by this Source.CivlcToken.getNext()Returns the "next" token, which, if non-null, should have index one greater than this token's index.TransformFormation.getPostToken()TransformFormation.getPreToken()MacroExpansion.getStartToken()Gets the token from the macro invocation which led to the construction of the new token.CivlcTokenSource.getToken(int index) Returns the index-th token produced (indexed from 0).CivlcTokenSequence.getTokens()Returns the tokens as an array.TokenFactory.newCivlcToken(int type, String text, Formation formation, CivlcToken.TokenVocabulary tokenVocab) TokenFactory.newCivlcToken(org.antlr.runtime.CharStream input, int type, int channel, int start, int stop, Formation formation, int line, int charPositionInLine, CivlcToken.TokenVocabulary tokenVocab) TokenFactory.newCivlcToken(org.antlr.runtime.Token token, Formation formation, CivlcToken.TokenVocabulary tokenVocab) Methods in dev.civl.abc.token.IF that return types with arguments of type CivlcTokenModifier and TypeMethodDescriptionSource.tokens()Returns an iterator over the tokens represented by this Source.Methods in dev.civl.abc.token.IF with parameters of type CivlcTokenModifier and TypeMethodDescriptionTokenFactory.characterToken(CivlcToken token) TokenFactory.getTokenSubsequence(CivlcTokenSource fullSource, CivlcToken startToken, CivlcToken stopToken) TokenFactory.join(Source source, CivlcToken token) Computes a minimalSourcecontaining the given source and token.static org.antlr.runtime.TokenSourceTokenUtils.makeTokenSourceFromList(CivlcToken first) TokenFactory.newBuiltinMacroExpansion(CivlcToken macroToken) Returns a new built-in macro expansion formation object.TokenFactory.newInclusion(SourceFile file, CivlcToken includeToken) TokenFactory.newMacroExpansion(CivlcToken startToken, Macro macro, int index) Returns a standard macro expansion formation object.TokenFactory.newSource(CivlcToken token) Returns aSourceconsisting of a singleToken.TokenFactory.newSource(CivlcToken first, CivlcToken last) TokenFactory.newStringToken(CivlcToken token) TokenFactory.newSyntaxException(UnsourcedException e, CivlcToken token) TokenFactory.newSyntaxException(String message, CivlcToken token) voidCivlcToken.setNext(CivlcToken nextToken) Sets the next token in the sequence.voidTransformFormation.setPostToken(CivlcToken postToken) voidTransformFormation.setPreToken(CivlcToken preToken) Method parameters in dev.civl.abc.token.IF with type arguments of type CivlcTokenModifier and TypeMethodDescriptionTokenFactory.newConcatenation(List<CivlcToken> tokens) A formation of a token by either (1) concatenating 0 or more tokens using the preprocessor "##" operator, or (2) concatenating 1 or more string literal tokens immediately after preprocessing.TokenFactory.newStringification(FunctionMacro macro, int index, List<CivlcToken> argument) Formation of a string literal token through the use of the preprocessor "#" operator during the application of a function-like macro.TokenFactory.newStringToken(List<CivlcToken> tokens) Constructs a new string literal token (instance ofStringToken) by concatenating a list of string literal tokens.Constructors in dev.civl.abc.token.IF with parameters of type CivlcToken