- All Superinterfaces:
Entity,ProgramEntity
A label followed by a colon may precede a statement in a C program. This
entity represents the label. It simply wraps an instance of
OrdinaryLabelNode, the node corresponding to the label.-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.civl.abc.ast.entity.IF.Entity
Entity.EntityKindNested classes/interfaces inherited from interface dev.civl.abc.ast.entity.IF.ProgramEntity
ProgramEntity.LinkageKind -
Method Summary
Modifier and TypeMethodDescriptionReturns the node representing the label.Methods inherited from interface dev.civl.abc.ast.entity.IF.Entity
getEntityKind, getNameMethods inherited from interface dev.civl.abc.ast.entity.IF.ProgramEntity
addDeclaration, getDeclaration, getDeclarations, getFirstDeclaration, getLinkage, getNumDeclarations, getType, isSystem, setDefinition, setIsSystem, setLinkage, setType
-
Method Details
-
getDefinition
OrdinaryLabelNode getDefinition()Returns the node representing the label.- Specified by:
getDefinitionin interfaceProgramEntity- Returns:
- the label node
-