Package cool.klass.model.meta.domain
Class SourceCodeImpl
java.lang.Object
cool.klass.model.meta.domain.SourceCodeImpl
- All Implemented Interfaces:
SourceCode
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface cool.klass.model.meta.domain.api.source.SourceCode
SourceCode.SourceCodeBuilder -
Constructor Summary
ConstructorsConstructorDescriptionSourceCodeImpl(String sourceName, String sourceCodeText, org.antlr.v4.runtime.BufferedTokenStream tokenStream, org.antlr.v4.runtime.ParserRuleContext parserContext, Optional<SourceCodeImpl> macroSourceCode) -
Method Summary
Modifier and TypeMethodDescriptionorg.antlr.v4.runtime.ParserRuleContextorg.antlr.v4.runtime.BufferedTokenStreamvoidsetMacroElement(Optional<Element> macroElement) toString()
-
Constructor Details
-
SourceCodeImpl
public SourceCodeImpl(@Nonnull String sourceName, @Nonnull String sourceCodeText, @Nonnull org.antlr.v4.runtime.BufferedTokenStream tokenStream, @Nonnull org.antlr.v4.runtime.ParserRuleContext parserContext, @Nonnull Optional<SourceCodeImpl> macroSourceCode)
-
-
Method Details
-
getSourceName
- Specified by:
getSourceNamein interfaceSourceCode
-
getFullPathSourceName
- Specified by:
getFullPathSourceNamein interfaceSourceCode
-
getSourceCodeText
- Specified by:
getSourceCodeTextin interfaceSourceCode
-
getTokenStream
@Nonnull public org.antlr.v4.runtime.BufferedTokenStream getTokenStream()- Specified by:
getTokenStreamin interfaceSourceCode
-
getParserContext
@Nonnull public org.antlr.v4.runtime.ParserRuleContext getParserContext()- Specified by:
getParserContextin interfaceSourceCode
-
getMacroSourceCode
- Specified by:
getMacroSourceCodein interfaceSourceCode
-
toString
-
setMacroElement
-