public final class BitmaskValue extends DocumentableAstNode implements ScopeSymbol
| Constructor and Description |
|---|
BitmaskValue(AstLocation location,
java.lang.String name,
Expression valueExpression,
java.util.List<DocComment> docComments)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ZserioAstVisitor visitor)
Accept zserio visitor.
|
java.lang.String |
getName()
Gets the name of the symbol stored in the lexical scope.
|
java.math.BigInteger |
getValue()
Gets the integer value.
|
Expression |
getValueExpression()
Gets value expression.
|
void |
visitChildren(ZserioAstVisitor visitor)
Visit children of the current AST node using given visitor.
|
getDocCommentsgetLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocationpublic BitmaskValue(AstLocation location, java.lang.String name, Expression valueExpression, java.util.List<DocComment> docComments)
location - AST node location.name - Name of the bitmask value.valueExpression - Expression value of the bitmask.docComments - List of documentation comments belonging to this node.public void accept(ZserioAstVisitor visitor)
AstNodepublic void visitChildren(ZserioAstVisitor visitor)
AstNodevisitChildren in interface AstNodevisitChildren in class DocumentableAstNodevisitor - Visitor to use.public java.lang.String getName()
ScopeSymbolgetName in interface ScopeSymbolpublic Expression getValueExpression()
public java.math.BigInteger getValue()
Last updated 2024-10-29 12:52:38