Class EmptySIUnitLiteralsParserInfo
java.lang.Object
de.monticore.siunit.siunitliterals._parser.SIUnitLiteralsParserInfo
de.monticore.siunit.siunitliterals._parser.EmptySIUnitLiteralsParserInfo
Implementation of SIUnitLiteralsParserInfo where every method returns false.
This is used in the static delegate pattern as the superclass for the ParserInfoForSuperLang classes.
Therefore, the ParserInfoForSuperLang classes don't have to know all symbol references and usage names that are used in a super-language, but not in the sub-language.
-
Field Summary
Fields inherited from class de.monticore.siunit.siunitliterals._parser.SIUnitLiteralsParserInfo
delegate, statesDefiningName, statesWithUsageNameNumericLiteral, statesWithUsageNameSignedNumericLiteral, statesWithUsageNameSIUnit -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean_stateDefinesName(int state) protected boolean_stateHasUsageNameNumericLiteral(int state) protected boolean_stateHasUsageNameSignedNumericLiteral(int state) protected boolean_stateHasUsageNameSIUnit(int state) Methods inherited from class de.monticore.siunit.siunitliterals._parser.SIUnitLiteralsParserInfo
_getImplementationOfInterfaceProd, getDelegate, getImplementationOfInterfaceProd, init, initMe, stateDefinesName, stateHasUsageNameNumericLiteral, stateHasUsageNameSignedNumericLiteral, stateHasUsageNameSIUnit
-
Constructor Details
-
EmptySIUnitLiteralsParserInfo
public EmptySIUnitLiteralsParserInfo()
-
-
Method Details
-
_stateHasUsageNameNumericLiteral
protected boolean _stateHasUsageNameNumericLiteral(int state) - Overrides:
_stateHasUsageNameNumericLiteralin classSIUnitLiteralsParserInfo
-
_stateHasUsageNameSIUnit
protected boolean _stateHasUsageNameSIUnit(int state) - Overrides:
_stateHasUsageNameSIUnitin classSIUnitLiteralsParserInfo
-
_stateHasUsageNameSignedNumericLiteral
protected boolean _stateHasUsageNameSignedNumericLiteral(int state) - Overrides:
_stateHasUsageNameSignedNumericLiteralin classSIUnitLiteralsParserInfo
-
_stateDefinesName
protected boolean _stateDefinesName(int state) - Overrides:
_stateDefinesNamein classSIUnitLiteralsParserInfo
-