Class IRKeyword.Unqualified
java.lang.Object
org.opendaylight.yangtools.yang.ir.IRKeyword
org.opendaylight.yangtools.yang.ir.IRKeyword.Unqualified
- All Implemented Interfaces:
Immutable
- Enclosing class:
IRKeyword
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opendaylight.yangtools.yang.ir.IRKeyword
IRKeyword.Qualified, IRKeyword.Unqualified
-
Method Summary
Modifier and TypeMethodDescriptionHelper method to re-create the string which was used to declared this keyword.static @NonNull IRKeyword.Unqualified
prefix()
This keyword's 'prefix' part.final String
toString()
Methods inherited from class org.opendaylight.yangtools.yang.ir.IRKeyword
equals, hashCode, identifier
-
Method Details
-
of
-
prefix
Description copied from class:IRKeyword
This keyword's 'prefix' part. This corresponds toprefix identifier
. ForYANG keyword
s this is null. For language extension references this is the non-null prefix which references the YANG module defining the language extension.Note the returned string, if non-null, is guaranteed to conform to rules of
identifier
ABNF. -
asStringDeclaration
Description copied from class:IRKeyword
Helper method to re-create the string which was used to declared this keyword.- Specified by:
asStringDeclaration
in classIRKeyword
- Returns:
- Declaration string.
-
toString
-