Package org.sonarsource.slang.impl
Class IntegerLiteralTreeImpl
java.lang.Object
org.sonarsource.slang.impl.BaseTreeImpl
org.sonarsource.slang.impl.LiteralTreeImpl
org.sonarsource.slang.impl.IntegerLiteralTreeImpl
- All Implemented Interfaces:
HasTextRange,IntegerLiteralTree,LiteralTree,Tree
Languages that can have integer literal with other bases, or who use a different syntax for binary/octal/decimal/hexadecimal
values, specific plugins should provide its own implementation of
IntegerLiteralTree-
Nested Class Summary
Nested classes/interfaces inherited from interface org.sonarsource.slang.api.IntegerLiteralTree
IntegerLiteralTree.Base -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.sonarsource.slang.impl.LiteralTreeImpl
children, valueMethods inherited from class org.sonarsource.slang.impl.BaseTreeImpl
metaDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.sonarsource.slang.api.LiteralTree
valueMethods inherited from interface org.sonarsource.slang.api.Tree
children, descendants, metaData, textRange
-
Constructor Details
-
IntegerLiteralTreeImpl
-
-
Method Details
-
getBase
- Specified by:
getBasein interfaceIntegerLiteralTree
-
getIntegerValue
- Specified by:
getIntegerValuein interfaceIntegerLiteralTree
-
getNumericPart
- Specified by:
getNumericPartin interfaceIntegerLiteralTree
-