Uses of Class
net.aifusion.asn.Token
Package
Description
This package contains a partial implementation an ASN.1 parser and classes to manage ASN.1 values.
-
Uses of Token in net.aifusion.asn
Modifier and TypeMethodDescriptionAsnNode.getNameToken()
Get the name token from this nodeAsnNode.getValueToken()
Get the value token from this node.Tokenizer.lookAhead()
Get the lookAhead tokenTokenizer.lookAhead
(int offset) Get the token at a given offset (positive or negative) from the current positionTokenizer.next()
Get the next token from the tokenizer, and advance its positionScan forward for a given token type (advancing the cursor to the token if found)Scan forward for a sequence of tokensSkip over a given token, and move past itModifier and TypeMethodDescriptionGet an AST node corresponding to this productionGet an AST node corresponding to this productionGet an AST node corresponding to this productionModifierConstructorDescriptionCreate a Module definitionAsnNode
(AsnProduction production, Token token) Create a new parser node with a given token (name)AsnNode
(AsnProduction production, Token token, boolean isClassField) Create a parser node with a given nameAsnNode
(AsnProduction production, Token nameToken, Token valueToken) Create a new parser node with a given token pairModifierConstructorDescriptionAsnNode
(AsnProduction production, List<Token> tokens) Create a parser node with a list of tokens