@Test public void bases() { assertThat(integerLiteral("0123").getBase()).isEqualTo(OCTAL); assertThat(integerLiteral("0o123").getBase()).isEqualTo(OCTAL); assertThat(integerLiteral("0O123").getBase()).isEqualTo(OCTAL); assertThat(integerLiteral("123").getBase()).isEqualTo(DECIMAL); assertThat(integerLiteral("0d123").getBase()).isEqualTo(DECIMAL); assertThat(integerLiteral("0D123").getBase()).isEqualTo(DECIMAL); assertThat(integerLiteral("0x123").getBase()).isEqualTo(HEXADECIMAL); assertThat(integerLiteral("0X123").getBase()).isEqualTo(HEXADECIMAL); assertThat(integerLiteral("0b101").getBase()).isEqualTo(BINARY); assertThat(integerLiteral("0B101").getBase()).isEqualTo(BINARY); }
@Override public Base getBase() { return base; }
IntegerLiteralTreeImpl extends LiteralTreeImpl implements IntegerLiteralTree { @Override public Base getBase() { return base; } }
IntegerLiteralTreeImpl extends LiteralTreeImpl implements IntegerLiteralTree { @Override public Base getBase() { return base; } IntegerLiteralTreeImpl(TreeMetaData metaData, String stringValue); }
IntegerLiteralTreeImpl extends LiteralTreeImpl implements IntegerLiteralTree { @Override public Base getBase() { return base; } IntegerLiteralTreeImpl(TreeMetaData metaData, String stringValue); @Override Base getBase(); @Override BigInteger getIntegerValue(); @Override String getNumericPart(); }
IntegerLiteralTreeImpl extends LiteralTreeImpl implements IntegerLiteralTree { @Override public Base getBase() { return base; } IntegerLiteralTreeImpl(TreeMetaData metaData, String stringValue); @Override Base getBase(); @Override BigInteger getIntegerValue(); @Override String getNumericPart();  }