Documentation ¶
Index ¶
- Constants
- type AddStmtContext
- func (s *AddStmtContext) ADD() antlr.TerminalNode
- func (s *AddStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *AddStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *AddStmtContext) GetParser() antlr.Parser
- func (s *AddStmtContext) GetRuleContext() antlr.RuleContext
- func (*AddStmtContext) IsAddStmtContext()
- func (s *AddStmtContext) StmtWords() IStmtWordsContext
- func (s *AddStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *AddStmtContext) WS() antlr.TerminalNode
- type ArgStmtContext
- func (s *ArgStmtContext) ARG() antlr.TerminalNode
- func (s *ArgStmtContext) AllWS() []antlr.TerminalNode
- func (s *ArgStmtContext) EQUALS() antlr.TerminalNode
- func (s *ArgStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ArgStmtContext) EnvArgKey() IEnvArgKeyContext
- func (s *ArgStmtContext) EnvArgValue() IEnvArgValueContext
- func (s *ArgStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ArgStmtContext) GetParser() antlr.Parser
- func (s *ArgStmtContext) GetRuleContext() antlr.RuleContext
- func (*ArgStmtContext) IsArgStmtContext()
- func (s *ArgStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ArgStmtContext) WS(i int) antlr.TerminalNode
- type BaseEarthParserListener
- func (s *BaseEarthParserListener) EnterAddStmt(ctx *AddStmtContext)
- func (s *BaseEarthParserListener) EnterArgStmt(ctx *ArgStmtContext)
- func (s *BaseEarthParserListener) EnterBuildStmt(ctx *BuildStmtContext)
- func (s *BaseEarthParserListener) EnterCmdStmt(ctx *CmdStmtContext)
- func (s *BaseEarthParserListener) EnterCommandName(ctx *CommandNameContext)
- func (s *BaseEarthParserListener) EnterCopyStmt(ctx *CopyStmtContext)
- func (s *BaseEarthParserListener) EnterDockerLoadStmt(ctx *DockerLoadStmtContext)
- func (s *BaseEarthParserListener) EnterDockerPullStmt(ctx *DockerPullStmtContext)
- func (s *BaseEarthParserListener) EnterEarthFile(ctx *EarthFileContext)
- func (s *BaseEarthParserListener) EnterEndStmt(ctx *EndStmtContext)
- func (s *BaseEarthParserListener) EnterEntrypointStmt(ctx *EntrypointStmtContext)
- func (s *BaseEarthParserListener) EnterEnvArgKey(ctx *EnvArgKeyContext)
- func (s *BaseEarthParserListener) EnterEnvArgValue(ctx *EnvArgValueContext)
- func (s *BaseEarthParserListener) EnterEnvStmt(ctx *EnvStmtContext)
- func (s *BaseEarthParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseEarthParserListener) EnterExposeStmt(ctx *ExposeStmtContext)
- func (s *BaseEarthParserListener) EnterFromDockerfileStmt(ctx *FromDockerfileStmtContext)
- func (s *BaseEarthParserListener) EnterFromStmt(ctx *FromStmtContext)
- func (s *BaseEarthParserListener) EnterGenericCommandStmt(ctx *GenericCommandStmtContext)
- func (s *BaseEarthParserListener) EnterGitCloneStmt(ctx *GitCloneStmtContext)
- func (s *BaseEarthParserListener) EnterHealthcheckStmt(ctx *HealthcheckStmtContext)
- func (s *BaseEarthParserListener) EnterLabelKey(ctx *LabelKeyContext)
- func (s *BaseEarthParserListener) EnterLabelStmt(ctx *LabelStmtContext)
- func (s *BaseEarthParserListener) EnterLabelValue(ctx *LabelValueContext)
- func (s *BaseEarthParserListener) EnterOnbuildStmt(ctx *OnbuildStmtContext)
- func (s *BaseEarthParserListener) EnterRunStmt(ctx *RunStmtContext)
- func (s *BaseEarthParserListener) EnterSaveArtifact(ctx *SaveArtifactContext)
- func (s *BaseEarthParserListener) EnterSaveImage(ctx *SaveImageContext)
- func (s *BaseEarthParserListener) EnterSaveStmt(ctx *SaveStmtContext)
- func (s *BaseEarthParserListener) EnterShellStmt(ctx *ShellStmtContext)
- func (s *BaseEarthParserListener) EnterStmt(ctx *StmtContext)
- func (s *BaseEarthParserListener) EnterStmtWord(ctx *StmtWordContext)
- func (s *BaseEarthParserListener) EnterStmtWords(ctx *StmtWordsContext)
- func (s *BaseEarthParserListener) EnterStmtWordsMaybeJSON(ctx *StmtWordsMaybeJSONContext)
- func (s *BaseEarthParserListener) EnterStmts(ctx *StmtsContext)
- func (s *BaseEarthParserListener) EnterStopsignalStmt(ctx *StopsignalStmtContext)
- func (s *BaseEarthParserListener) EnterTarget(ctx *TargetContext)
- func (s *BaseEarthParserListener) EnterTargetHeader(ctx *TargetHeaderContext)
- func (s *BaseEarthParserListener) EnterTargets(ctx *TargetsContext)
- func (s *BaseEarthParserListener) EnterUserStmt(ctx *UserStmtContext)
- func (s *BaseEarthParserListener) EnterVolumeStmt(ctx *VolumeStmtContext)
- func (s *BaseEarthParserListener) EnterWithDockerStmt(ctx *WithDockerStmtContext)
- func (s *BaseEarthParserListener) EnterWorkdirStmt(ctx *WorkdirStmtContext)
- func (s *BaseEarthParserListener) ExitAddStmt(ctx *AddStmtContext)
- func (s *BaseEarthParserListener) ExitArgStmt(ctx *ArgStmtContext)
- func (s *BaseEarthParserListener) ExitBuildStmt(ctx *BuildStmtContext)
- func (s *BaseEarthParserListener) ExitCmdStmt(ctx *CmdStmtContext)
- func (s *BaseEarthParserListener) ExitCommandName(ctx *CommandNameContext)
- func (s *BaseEarthParserListener) ExitCopyStmt(ctx *CopyStmtContext)
- func (s *BaseEarthParserListener) ExitDockerLoadStmt(ctx *DockerLoadStmtContext)
- func (s *BaseEarthParserListener) ExitDockerPullStmt(ctx *DockerPullStmtContext)
- func (s *BaseEarthParserListener) ExitEarthFile(ctx *EarthFileContext)
- func (s *BaseEarthParserListener) ExitEndStmt(ctx *EndStmtContext)
- func (s *BaseEarthParserListener) ExitEntrypointStmt(ctx *EntrypointStmtContext)
- func (s *BaseEarthParserListener) ExitEnvArgKey(ctx *EnvArgKeyContext)
- func (s *BaseEarthParserListener) ExitEnvArgValue(ctx *EnvArgValueContext)
- func (s *BaseEarthParserListener) ExitEnvStmt(ctx *EnvStmtContext)
- func (s *BaseEarthParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseEarthParserListener) ExitExposeStmt(ctx *ExposeStmtContext)
- func (s *BaseEarthParserListener) ExitFromDockerfileStmt(ctx *FromDockerfileStmtContext)
- func (s *BaseEarthParserListener) ExitFromStmt(ctx *FromStmtContext)
- func (s *BaseEarthParserListener) ExitGenericCommandStmt(ctx *GenericCommandStmtContext)
- func (s *BaseEarthParserListener) ExitGitCloneStmt(ctx *GitCloneStmtContext)
- func (s *BaseEarthParserListener) ExitHealthcheckStmt(ctx *HealthcheckStmtContext)
- func (s *BaseEarthParserListener) ExitLabelKey(ctx *LabelKeyContext)
- func (s *BaseEarthParserListener) ExitLabelStmt(ctx *LabelStmtContext)
- func (s *BaseEarthParserListener) ExitLabelValue(ctx *LabelValueContext)
- func (s *BaseEarthParserListener) ExitOnbuildStmt(ctx *OnbuildStmtContext)
- func (s *BaseEarthParserListener) ExitRunStmt(ctx *RunStmtContext)
- func (s *BaseEarthParserListener) ExitSaveArtifact(ctx *SaveArtifactContext)
- func (s *BaseEarthParserListener) ExitSaveImage(ctx *SaveImageContext)
- func (s *BaseEarthParserListener) ExitSaveStmt(ctx *SaveStmtContext)
- func (s *BaseEarthParserListener) ExitShellStmt(ctx *ShellStmtContext)
- func (s *BaseEarthParserListener) ExitStmt(ctx *StmtContext)
- func (s *BaseEarthParserListener) ExitStmtWord(ctx *StmtWordContext)
- func (s *BaseEarthParserListener) ExitStmtWords(ctx *StmtWordsContext)
- func (s *BaseEarthParserListener) ExitStmtWordsMaybeJSON(ctx *StmtWordsMaybeJSONContext)
- func (s *BaseEarthParserListener) ExitStmts(ctx *StmtsContext)
- func (s *BaseEarthParserListener) ExitStopsignalStmt(ctx *StopsignalStmtContext)
- func (s *BaseEarthParserListener) ExitTarget(ctx *TargetContext)
- func (s *BaseEarthParserListener) ExitTargetHeader(ctx *TargetHeaderContext)
- func (s *BaseEarthParserListener) ExitTargets(ctx *TargetsContext)
- func (s *BaseEarthParserListener) ExitUserStmt(ctx *UserStmtContext)
- func (s *BaseEarthParserListener) ExitVolumeStmt(ctx *VolumeStmtContext)
- func (s *BaseEarthParserListener) ExitWithDockerStmt(ctx *WithDockerStmtContext)
- func (s *BaseEarthParserListener) ExitWorkdirStmt(ctx *WorkdirStmtContext)
- func (s *BaseEarthParserListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseEarthParserListener) VisitTerminal(node antlr.TerminalNode)
- type BuildStmtContext
- func (s *BuildStmtContext) BUILD() antlr.TerminalNode
- func (s *BuildStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BuildStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BuildStmtContext) GetParser() antlr.Parser
- func (s *BuildStmtContext) GetRuleContext() antlr.RuleContext
- func (*BuildStmtContext) IsBuildStmtContext()
- func (s *BuildStmtContext) StmtWords() IStmtWordsContext
- func (s *BuildStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *BuildStmtContext) WS() antlr.TerminalNode
- type CmdStmtContext
- func (s *CmdStmtContext) CMD() antlr.TerminalNode
- func (s *CmdStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CmdStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CmdStmtContext) GetParser() antlr.Parser
- func (s *CmdStmtContext) GetRuleContext() antlr.RuleContext
- func (*CmdStmtContext) IsCmdStmtContext()
- func (s *CmdStmtContext) StmtWordsMaybeJSON() IStmtWordsMaybeJSONContext
- func (s *CmdStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *CmdStmtContext) WS() antlr.TerminalNode
- type CommandNameContext
- func (s *CommandNameContext) Command() antlr.TerminalNode
- func (s *CommandNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CommandNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CommandNameContext) GetParser() antlr.Parser
- func (s *CommandNameContext) GetRuleContext() antlr.RuleContext
- func (*CommandNameContext) IsCommandNameContext()
- func (s *CommandNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type CopyStmtContext
- func (s *CopyStmtContext) COPY() antlr.TerminalNode
- func (s *CopyStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *CopyStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *CopyStmtContext) GetParser() antlr.Parser
- func (s *CopyStmtContext) GetRuleContext() antlr.RuleContext
- func (*CopyStmtContext) IsCopyStmtContext()
- func (s *CopyStmtContext) StmtWords() IStmtWordsContext
- func (s *CopyStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *CopyStmtContext) WS() antlr.TerminalNode
- type DockerLoadStmtContext
- func (s *DockerLoadStmtContext) DOCKER_LOAD() antlr.TerminalNode
- func (s *DockerLoadStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DockerLoadStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DockerLoadStmtContext) GetParser() antlr.Parser
- func (s *DockerLoadStmtContext) GetRuleContext() antlr.RuleContext
- func (*DockerLoadStmtContext) IsDockerLoadStmtContext()
- func (s *DockerLoadStmtContext) StmtWords() IStmtWordsContext
- func (s *DockerLoadStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *DockerLoadStmtContext) WS() antlr.TerminalNode
- type DockerPullStmtContext
- func (s *DockerPullStmtContext) DOCKER_PULL() antlr.TerminalNode
- func (s *DockerPullStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DockerPullStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DockerPullStmtContext) GetParser() antlr.Parser
- func (s *DockerPullStmtContext) GetRuleContext() antlr.RuleContext
- func (*DockerPullStmtContext) IsDockerPullStmtContext()
- func (s *DockerPullStmtContext) StmtWords() IStmtWordsContext
- func (s *DockerPullStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *DockerPullStmtContext) WS() antlr.TerminalNode
- type EarthFileContext
- func (s *EarthFileContext) AllNL() []antlr.TerminalNode
- func (s *EarthFileContext) EOF() antlr.TerminalNode
- func (s *EarthFileContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EarthFileContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EarthFileContext) GetParser() antlr.Parser
- func (s *EarthFileContext) GetRuleContext() antlr.RuleContext
- func (*EarthFileContext) IsEarthFileContext()
- func (s *EarthFileContext) NL(i int) antlr.TerminalNode
- func (s *EarthFileContext) Stmts() IStmtsContext
- func (s *EarthFileContext) Targets() ITargetsContext
- func (s *EarthFileContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EarthLexer
- type EarthParser
- func (p *EarthParser) AddStmt() (localctx IAddStmtContext)
- func (p *EarthParser) ArgStmt() (localctx IArgStmtContext)
- func (p *EarthParser) BuildStmt() (localctx IBuildStmtContext)
- func (p *EarthParser) CmdStmt() (localctx ICmdStmtContext)
- func (p *EarthParser) CommandName() (localctx ICommandNameContext)
- func (p *EarthParser) CopyStmt() (localctx ICopyStmtContext)
- func (p *EarthParser) DockerLoadStmt() (localctx IDockerLoadStmtContext)
- func (p *EarthParser) DockerPullStmt() (localctx IDockerPullStmtContext)
- func (p *EarthParser) EarthFile() (localctx IEarthFileContext)
- func (p *EarthParser) EndStmt() (localctx IEndStmtContext)
- func (p *EarthParser) EntrypointStmt() (localctx IEntrypointStmtContext)
- func (p *EarthParser) EnvArgKey() (localctx IEnvArgKeyContext)
- func (p *EarthParser) EnvArgValue() (localctx IEnvArgValueContext)
- func (p *EarthParser) EnvStmt() (localctx IEnvStmtContext)
- func (p *EarthParser) ExposeStmt() (localctx IExposeStmtContext)
- func (p *EarthParser) FromDockerfileStmt() (localctx IFromDockerfileStmtContext)
- func (p *EarthParser) FromStmt() (localctx IFromStmtContext)
- func (p *EarthParser) GenericCommandStmt() (localctx IGenericCommandStmtContext)
- func (p *EarthParser) GitCloneStmt() (localctx IGitCloneStmtContext)
- func (p *EarthParser) HealthcheckStmt() (localctx IHealthcheckStmtContext)
- func (p *EarthParser) LabelKey() (localctx ILabelKeyContext)
- func (p *EarthParser) LabelStmt() (localctx ILabelStmtContext)
- func (p *EarthParser) LabelValue() (localctx ILabelValueContext)
- func (p *EarthParser) OnbuildStmt() (localctx IOnbuildStmtContext)
- func (p *EarthParser) RunStmt() (localctx IRunStmtContext)
- func (p *EarthParser) SaveArtifact() (localctx ISaveArtifactContext)
- func (p *EarthParser) SaveImage() (localctx ISaveImageContext)
- func (p *EarthParser) SaveStmt() (localctx ISaveStmtContext)
- func (p *EarthParser) ShellStmt() (localctx IShellStmtContext)
- func (p *EarthParser) Stmt() (localctx IStmtContext)
- func (p *EarthParser) StmtWord() (localctx IStmtWordContext)
- func (p *EarthParser) StmtWords() (localctx IStmtWordsContext)
- func (p *EarthParser) StmtWordsMaybeJSON() (localctx IStmtWordsMaybeJSONContext)
- func (p *EarthParser) Stmts() (localctx IStmtsContext)
- func (p *EarthParser) StopsignalStmt() (localctx IStopsignalStmtContext)
- func (p *EarthParser) Target() (localctx ITargetContext)
- func (p *EarthParser) TargetHeader() (localctx ITargetHeaderContext)
- func (p *EarthParser) Targets() (localctx ITargetsContext)
- func (p *EarthParser) UserStmt() (localctx IUserStmtContext)
- func (p *EarthParser) VolumeStmt() (localctx IVolumeStmtContext)
- func (p *EarthParser) WithDockerStmt() (localctx IWithDockerStmtContext)
- func (p *EarthParser) WorkdirStmt() (localctx IWorkdirStmtContext)
- type EarthParserListener
- type EndStmtContext
- func (s *EndStmtContext) END() antlr.TerminalNode
- func (s *EndStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EndStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EndStmtContext) GetParser() antlr.Parser
- func (s *EndStmtContext) GetRuleContext() antlr.RuleContext
- func (*EndStmtContext) IsEndStmtContext()
- func (s *EndStmtContext) StmtWords() IStmtWordsContext
- func (s *EndStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *EndStmtContext) WS() antlr.TerminalNode
- type EntrypointStmtContext
- func (s *EntrypointStmtContext) ENTRYPOINT() antlr.TerminalNode
- func (s *EntrypointStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EntrypointStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EntrypointStmtContext) GetParser() antlr.Parser
- func (s *EntrypointStmtContext) GetRuleContext() antlr.RuleContext
- func (*EntrypointStmtContext) IsEntrypointStmtContext()
- func (s *EntrypointStmtContext) StmtWordsMaybeJSON() IStmtWordsMaybeJSONContext
- func (s *EntrypointStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *EntrypointStmtContext) WS() antlr.TerminalNode
- type EnvArgKeyContext
- func (s *EnvArgKeyContext) Atom() antlr.TerminalNode
- func (s *EnvArgKeyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EnvArgKeyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EnvArgKeyContext) GetParser() antlr.Parser
- func (s *EnvArgKeyContext) GetRuleContext() antlr.RuleContext
- func (*EnvArgKeyContext) IsEnvArgKeyContext()
- func (s *EnvArgKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type EnvArgValueContext
- func (s *EnvArgValueContext) AllAtom() []antlr.TerminalNode
- func (s *EnvArgValueContext) AllWS() []antlr.TerminalNode
- func (s *EnvArgValueContext) Atom(i int) antlr.TerminalNode
- func (s *EnvArgValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EnvArgValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EnvArgValueContext) GetParser() antlr.Parser
- func (s *EnvArgValueContext) GetRuleContext() antlr.RuleContext
- func (*EnvArgValueContext) IsEnvArgValueContext()
- func (s *EnvArgValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *EnvArgValueContext) WS(i int) antlr.TerminalNode
- type EnvStmtContext
- func (s *EnvStmtContext) AllWS() []antlr.TerminalNode
- func (s *EnvStmtContext) ENV() antlr.TerminalNode
- func (s *EnvStmtContext) EQUALS() antlr.TerminalNode
- func (s *EnvStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *EnvStmtContext) EnvArgKey() IEnvArgKeyContext
- func (s *EnvStmtContext) EnvArgValue() IEnvArgValueContext
- func (s *EnvStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *EnvStmtContext) GetParser() antlr.Parser
- func (s *EnvStmtContext) GetRuleContext() antlr.RuleContext
- func (*EnvStmtContext) IsEnvStmtContext()
- func (s *EnvStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *EnvStmtContext) WS(i int) antlr.TerminalNode
- type ExposeStmtContext
- func (s *ExposeStmtContext) EXPOSE() antlr.TerminalNode
- func (s *ExposeStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ExposeStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ExposeStmtContext) GetParser() antlr.Parser
- func (s *ExposeStmtContext) GetRuleContext() antlr.RuleContext
- func (*ExposeStmtContext) IsExposeStmtContext()
- func (s *ExposeStmtContext) StmtWords() IStmtWordsContext
- func (s *ExposeStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ExposeStmtContext) WS() antlr.TerminalNode
- type FromDockerfileStmtContext
- func (s *FromDockerfileStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FromDockerfileStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FromDockerfileStmtContext) FROM_DOCKERFILE() antlr.TerminalNode
- func (s *FromDockerfileStmtContext) GetParser() antlr.Parser
- func (s *FromDockerfileStmtContext) GetRuleContext() antlr.RuleContext
- func (*FromDockerfileStmtContext) IsFromDockerfileStmtContext()
- func (s *FromDockerfileStmtContext) StmtWords() IStmtWordsContext
- func (s *FromDockerfileStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *FromDockerfileStmtContext) WS() antlr.TerminalNode
- type FromStmtContext
- func (s *FromStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *FromStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *FromStmtContext) FROM() antlr.TerminalNode
- func (s *FromStmtContext) GetParser() antlr.Parser
- func (s *FromStmtContext) GetRuleContext() antlr.RuleContext
- func (*FromStmtContext) IsFromStmtContext()
- func (s *FromStmtContext) StmtWords() IStmtWordsContext
- func (s *FromStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *FromStmtContext) WS() antlr.TerminalNode
- type GenericCommandStmtContext
- func (s *GenericCommandStmtContext) CommandName() ICommandNameContext
- func (s *GenericCommandStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GenericCommandStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GenericCommandStmtContext) GetParser() antlr.Parser
- func (s *GenericCommandStmtContext) GetRuleContext() antlr.RuleContext
- func (*GenericCommandStmtContext) IsGenericCommandStmtContext()
- func (s *GenericCommandStmtContext) StmtWords() IStmtWordsContext
- func (s *GenericCommandStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *GenericCommandStmtContext) WS() antlr.TerminalNode
- type GitCloneStmtContext
- func (s *GitCloneStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *GitCloneStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *GitCloneStmtContext) GIT_CLONE() antlr.TerminalNode
- func (s *GitCloneStmtContext) GetParser() antlr.Parser
- func (s *GitCloneStmtContext) GetRuleContext() antlr.RuleContext
- func (*GitCloneStmtContext) IsGitCloneStmtContext()
- func (s *GitCloneStmtContext) StmtWords() IStmtWordsContext
- func (s *GitCloneStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *GitCloneStmtContext) WS() antlr.TerminalNode
- type HealthcheckStmtContext
- func (s *HealthcheckStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HealthcheckStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HealthcheckStmtContext) GetParser() antlr.Parser
- func (s *HealthcheckStmtContext) GetRuleContext() antlr.RuleContext
- func (s *HealthcheckStmtContext) HEALTHCHECK() antlr.TerminalNode
- func (*HealthcheckStmtContext) IsHealthcheckStmtContext()
- func (s *HealthcheckStmtContext) StmtWords() IStmtWordsContext
- func (s *HealthcheckStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *HealthcheckStmtContext) WS() antlr.TerminalNode
- type IAddStmtContext
- type IArgStmtContext
- type IBuildStmtContext
- type ICmdStmtContext
- type ICommandNameContext
- type ICopyStmtContext
- type IDockerLoadStmtContext
- type IDockerPullStmtContext
- type IEarthFileContext
- type IEndStmtContext
- type IEntrypointStmtContext
- type IEnvArgKeyContext
- type IEnvArgValueContext
- type IEnvStmtContext
- type IExposeStmtContext
- type IFromDockerfileStmtContext
- type IFromStmtContext
- type IGenericCommandStmtContext
- type IGitCloneStmtContext
- type IHealthcheckStmtContext
- type ILabelKeyContext
- type ILabelStmtContext
- type ILabelValueContext
- type IOnbuildStmtContext
- type IRunStmtContext
- type ISaveArtifactContext
- type ISaveImageContext
- type ISaveStmtContext
- type IShellStmtContext
- type IStmtContext
- type IStmtWordContext
- type IStmtWordsContext
- type IStmtWordsMaybeJSONContext
- type IStmtsContext
- type IStopsignalStmtContext
- type ITargetContext
- type ITargetHeaderContext
- type ITargetsContext
- type IUserStmtContext
- type IVolumeStmtContext
- type IWithDockerStmtContext
- type IWorkdirStmtContext
- type LabelKeyContext
- func (s *LabelKeyContext) Atom() antlr.TerminalNode
- func (s *LabelKeyContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LabelKeyContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LabelKeyContext) GetParser() antlr.Parser
- func (s *LabelKeyContext) GetRuleContext() antlr.RuleContext
- func (*LabelKeyContext) IsLabelKeyContext()
- func (s *LabelKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LabelStmtContext
- func (s *LabelStmtContext) AllEQUALS() []antlr.TerminalNode
- func (s *LabelStmtContext) AllLabelKey() []ILabelKeyContext
- func (s *LabelStmtContext) AllLabelValue() []ILabelValueContext
- func (s *LabelStmtContext) AllWS() []antlr.TerminalNode
- func (s *LabelStmtContext) EQUALS(i int) antlr.TerminalNode
- func (s *LabelStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LabelStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LabelStmtContext) GetParser() antlr.Parser
- func (s *LabelStmtContext) GetRuleContext() antlr.RuleContext
- func (*LabelStmtContext) IsLabelStmtContext()
- func (s *LabelStmtContext) LABEL() antlr.TerminalNode
- func (s *LabelStmtContext) LabelKey(i int) ILabelKeyContext
- func (s *LabelStmtContext) LabelValue(i int) ILabelValueContext
- func (s *LabelStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *LabelStmtContext) WS(i int) antlr.TerminalNode
- type LabelValueContext
- func (s *LabelValueContext) Atom() antlr.TerminalNode
- func (s *LabelValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LabelValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LabelValueContext) GetParser() antlr.Parser
- func (s *LabelValueContext) GetRuleContext() antlr.RuleContext
- func (*LabelValueContext) IsLabelValueContext()
- func (s *LabelValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type OnbuildStmtContext
- func (s *OnbuildStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *OnbuildStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *OnbuildStmtContext) GetParser() antlr.Parser
- func (s *OnbuildStmtContext) GetRuleContext() antlr.RuleContext
- func (*OnbuildStmtContext) IsOnbuildStmtContext()
- func (s *OnbuildStmtContext) ONBUILD() antlr.TerminalNode
- func (s *OnbuildStmtContext) StmtWords() IStmtWordsContext
- func (s *OnbuildStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *OnbuildStmtContext) WS() antlr.TerminalNode
- type RunStmtContext
- func (s *RunStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *RunStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *RunStmtContext) GetParser() antlr.Parser
- func (s *RunStmtContext) GetRuleContext() antlr.RuleContext
- func (*RunStmtContext) IsRunStmtContext()
- func (s *RunStmtContext) RUN() antlr.TerminalNode
- func (s *RunStmtContext) StmtWordsMaybeJSON() IStmtWordsMaybeJSONContext
- func (s *RunStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *RunStmtContext) WS() antlr.TerminalNode
- type SaveArtifactContext
- func (s *SaveArtifactContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SaveArtifactContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SaveArtifactContext) GetParser() antlr.Parser
- func (s *SaveArtifactContext) GetRuleContext() antlr.RuleContext
- func (*SaveArtifactContext) IsSaveArtifactContext()
- func (s *SaveArtifactContext) SAVE_ARTIFACT() antlr.TerminalNode
- func (s *SaveArtifactContext) StmtWords() IStmtWordsContext
- func (s *SaveArtifactContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *SaveArtifactContext) WS() antlr.TerminalNode
- type SaveImageContext
- func (s *SaveImageContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SaveImageContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SaveImageContext) GetParser() antlr.Parser
- func (s *SaveImageContext) GetRuleContext() antlr.RuleContext
- func (*SaveImageContext) IsSaveImageContext()
- func (s *SaveImageContext) SAVE_IMAGE() antlr.TerminalNode
- func (s *SaveImageContext) StmtWords() IStmtWordsContext
- func (s *SaveImageContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *SaveImageContext) WS() antlr.TerminalNode
- type SaveStmtContext
- func (s *SaveStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *SaveStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *SaveStmtContext) GetParser() antlr.Parser
- func (s *SaveStmtContext) GetRuleContext() antlr.RuleContext
- func (*SaveStmtContext) IsSaveStmtContext()
- func (s *SaveStmtContext) SaveArtifact() ISaveArtifactContext
- func (s *SaveStmtContext) SaveImage() ISaveImageContext
- func (s *SaveStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ShellStmtContext
- func (s *ShellStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ShellStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ShellStmtContext) GetParser() antlr.Parser
- func (s *ShellStmtContext) GetRuleContext() antlr.RuleContext
- func (*ShellStmtContext) IsShellStmtContext()
- func (s *ShellStmtContext) SHELL() antlr.TerminalNode
- func (s *ShellStmtContext) StmtWords() IStmtWordsContext
- func (s *ShellStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *ShellStmtContext) WS() antlr.TerminalNode
- type StmtContext
- func (s *StmtContext) AddStmt() IAddStmtContext
- func (s *StmtContext) ArgStmt() IArgStmtContext
- func (s *StmtContext) BuildStmt() IBuildStmtContext
- func (s *StmtContext) CmdStmt() ICmdStmtContext
- func (s *StmtContext) CopyStmt() ICopyStmtContext
- func (s *StmtContext) DockerLoadStmt() IDockerLoadStmtContext
- func (s *StmtContext) DockerPullStmt() IDockerPullStmtContext
- func (s *StmtContext) EndStmt() IEndStmtContext
- func (s *StmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmtContext) EntrypointStmt() IEntrypointStmtContext
- func (s *StmtContext) EnvStmt() IEnvStmtContext
- func (s *StmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmtContext) ExposeStmt() IExposeStmtContext
- func (s *StmtContext) FromDockerfileStmt() IFromDockerfileStmtContext
- func (s *StmtContext) FromStmt() IFromStmtContext
- func (s *StmtContext) GenericCommandStmt() IGenericCommandStmtContext
- func (s *StmtContext) GetParser() antlr.Parser
- func (s *StmtContext) GetRuleContext() antlr.RuleContext
- func (s *StmtContext) GitCloneStmt() IGitCloneStmtContext
- func (s *StmtContext) HealthcheckStmt() IHealthcheckStmtContext
- func (*StmtContext) IsStmtContext()
- func (s *StmtContext) LabelStmt() ILabelStmtContext
- func (s *StmtContext) OnbuildStmt() IOnbuildStmtContext
- func (s *StmtContext) RunStmt() IRunStmtContext
- func (s *StmtContext) SaveStmt() ISaveStmtContext
- func (s *StmtContext) ShellStmt() IShellStmtContext
- func (s *StmtContext) StopsignalStmt() IStopsignalStmtContext
- func (s *StmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *StmtContext) UserStmt() IUserStmtContext
- func (s *StmtContext) VolumeStmt() IVolumeStmtContext
- func (s *StmtContext) WithDockerStmt() IWithDockerStmtContext
- func (s *StmtContext) WorkdirStmt() IWorkdirStmtContext
- type StmtWordContext
- func (s *StmtWordContext) Atom() antlr.TerminalNode
- func (s *StmtWordContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmtWordContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmtWordContext) GetParser() antlr.Parser
- func (s *StmtWordContext) GetRuleContext() antlr.RuleContext
- func (*StmtWordContext) IsStmtWordContext()
- func (s *StmtWordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StmtWordsContext
- func (s *StmtWordsContext) AllStmtWord() []IStmtWordContext
- func (s *StmtWordsContext) AllWS() []antlr.TerminalNode
- func (s *StmtWordsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmtWordsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmtWordsContext) GetParser() antlr.Parser
- func (s *StmtWordsContext) GetRuleContext() antlr.RuleContext
- func (*StmtWordsContext) IsStmtWordsContext()
- func (s *StmtWordsContext) StmtWord(i int) IStmtWordContext
- func (s *StmtWordsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *StmtWordsContext) WS(i int) antlr.TerminalNode
- type StmtWordsMaybeJSONContext
- func (s *StmtWordsMaybeJSONContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmtWordsMaybeJSONContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmtWordsMaybeJSONContext) GetParser() antlr.Parser
- func (s *StmtWordsMaybeJSONContext) GetRuleContext() antlr.RuleContext
- func (*StmtWordsMaybeJSONContext) IsStmtWordsMaybeJSONContext()
- func (s *StmtWordsMaybeJSONContext) StmtWords() IStmtWordsContext
- func (s *StmtWordsMaybeJSONContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StmtsContext
- func (s *StmtsContext) AllNL() []antlr.TerminalNode
- func (s *StmtsContext) AllStmt() []IStmtContext
- func (s *StmtsContext) AllWS() []antlr.TerminalNode
- func (s *StmtsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StmtsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StmtsContext) GetParser() antlr.Parser
- func (s *StmtsContext) GetRuleContext() antlr.RuleContext
- func (*StmtsContext) IsStmtsContext()
- func (s *StmtsContext) NL(i int) antlr.TerminalNode
- func (s *StmtsContext) Stmt(i int) IStmtContext
- func (s *StmtsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *StmtsContext) WS(i int) antlr.TerminalNode
- type StopsignalStmtContext
- func (s *StopsignalStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StopsignalStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StopsignalStmtContext) GetParser() antlr.Parser
- func (s *StopsignalStmtContext) GetRuleContext() antlr.RuleContext
- func (*StopsignalStmtContext) IsStopsignalStmtContext()
- func (s *StopsignalStmtContext) STOPSIGNAL() antlr.TerminalNode
- func (s *StopsignalStmtContext) StmtWords() IStmtWordsContext
- func (s *StopsignalStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *StopsignalStmtContext) WS() antlr.TerminalNode
- type TargetContext
- func (s *TargetContext) AllNL() []antlr.TerminalNode
- func (s *TargetContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TargetContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TargetContext) GetParser() antlr.Parser
- func (s *TargetContext) GetRuleContext() antlr.RuleContext
- func (s *TargetContext) INDENT() antlr.TerminalNode
- func (*TargetContext) IsTargetContext()
- func (s *TargetContext) NL(i int) antlr.TerminalNode
- func (s *TargetContext) Stmts() IStmtsContext
- func (s *TargetContext) TargetHeader() ITargetHeaderContext
- func (s *TargetContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TargetContext) WS() antlr.TerminalNode
- type TargetHeaderContext
- func (s *TargetHeaderContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TargetHeaderContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TargetHeaderContext) GetParser() antlr.Parser
- func (s *TargetHeaderContext) GetRuleContext() antlr.RuleContext
- func (*TargetHeaderContext) IsTargetHeaderContext()
- func (s *TargetHeaderContext) Target() antlr.TerminalNode
- func (s *TargetHeaderContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TargetsContext
- func (s *TargetsContext) AllDEDENT() []antlr.TerminalNode
- func (s *TargetsContext) AllNL() []antlr.TerminalNode
- func (s *TargetsContext) AllTarget() []ITargetContext
- func (s *TargetsContext) AllWS() []antlr.TerminalNode
- func (s *TargetsContext) DEDENT(i int) antlr.TerminalNode
- func (s *TargetsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TargetsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TargetsContext) GetParser() antlr.Parser
- func (s *TargetsContext) GetRuleContext() antlr.RuleContext
- func (*TargetsContext) IsTargetsContext()
- func (s *TargetsContext) NL(i int) antlr.TerminalNode
- func (s *TargetsContext) Target(i int) ITargetContext
- func (s *TargetsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TargetsContext) WS(i int) antlr.TerminalNode
- type UserStmtContext
- func (s *UserStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *UserStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *UserStmtContext) GetParser() antlr.Parser
- func (s *UserStmtContext) GetRuleContext() antlr.RuleContext
- func (*UserStmtContext) IsUserStmtContext()
- func (s *UserStmtContext) StmtWords() IStmtWordsContext
- func (s *UserStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *UserStmtContext) USER() antlr.TerminalNode
- func (s *UserStmtContext) WS() antlr.TerminalNode
- type VolumeStmtContext
- func (s *VolumeStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *VolumeStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *VolumeStmtContext) GetParser() antlr.Parser
- func (s *VolumeStmtContext) GetRuleContext() antlr.RuleContext
- func (*VolumeStmtContext) IsVolumeStmtContext()
- func (s *VolumeStmtContext) StmtWordsMaybeJSON() IStmtWordsMaybeJSONContext
- func (s *VolumeStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *VolumeStmtContext) VOLUME() antlr.TerminalNode
- func (s *VolumeStmtContext) WS() antlr.TerminalNode
- type WithDockerStmtContext
- func (s *WithDockerStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *WithDockerStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *WithDockerStmtContext) GetParser() antlr.Parser
- func (s *WithDockerStmtContext) GetRuleContext() antlr.RuleContext
- func (*WithDockerStmtContext) IsWithDockerStmtContext()
- func (s *WithDockerStmtContext) StmtWords() IStmtWordsContext
- func (s *WithDockerStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *WithDockerStmtContext) WITH_DOCKER() antlr.TerminalNode
- func (s *WithDockerStmtContext) WS() antlr.TerminalNode
- type WorkdirStmtContext
- func (s *WorkdirStmtContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *WorkdirStmtContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *WorkdirStmtContext) GetParser() antlr.Parser
- func (s *WorkdirStmtContext) GetRuleContext() antlr.RuleContext
- func (*WorkdirStmtContext) IsWorkdirStmtContext()
- func (s *WorkdirStmtContext) StmtWords() IStmtWordsContext
- func (s *WorkdirStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *WorkdirStmtContext) WORKDIR() antlr.TerminalNode
- func (s *WorkdirStmtContext) WS() antlr.TerminalNode
Constants ¶
const ( EarthLexerINDENT = 1 EarthLexerDEDENT = 2 EarthLexerTarget = 3 EarthLexerFROM = 4 EarthLexerFROM_DOCKERFILE = 5 EarthLexerCOPY = 6 EarthLexerSAVE_ARTIFACT = 7 EarthLexerSAVE_IMAGE = 8 EarthLexerRUN = 9 EarthLexerEXPOSE = 10 EarthLexerVOLUME = 11 EarthLexerENV = 12 EarthLexerARG = 13 EarthLexerLABEL = 14 EarthLexerBUILD = 15 EarthLexerWORKDIR = 16 EarthLexerUSER = 17 EarthLexerCMD = 18 EarthLexerENTRYPOINT = 19 EarthLexerGIT_CLONE = 20 EarthLexerDOCKER_LOAD = 21 EarthLexerDOCKER_PULL = 22 EarthLexerADD = 23 EarthLexerSTOPSIGNAL = 24 EarthLexerONBUILD = 25 EarthLexerHEALTHCHECK = 26 EarthLexerSHELL = 27 EarthLexerWITH_DOCKER = 28 EarthLexerEND = 29 EarthLexerCommand = 30 EarthLexerNL = 31 EarthLexerWS = 32 EarthLexerAtom = 33 EarthLexerEQUALS = 34 )
EarthLexer tokens.
const ( EarthLexerRECIPE = iota + 1 EarthLexerCOMMAND_ARGS EarthLexerCOMMAND_ARGS_KEY_VALUE EarthLexerCOMMAND_ARGS_KEY_VALUE_LABEL )
EarthLexer modes.
const ( EarthParserEOF = antlr.TokenEOF EarthParserINDENT = 1 EarthParserDEDENT = 2 EarthParserTarget = 3 EarthParserFROM = 4 EarthParserFROM_DOCKERFILE = 5 EarthParserCOPY = 6 EarthParserSAVE_ARTIFACT = 7 EarthParserSAVE_IMAGE = 8 EarthParserRUN = 9 EarthParserEXPOSE = 10 EarthParserVOLUME = 11 EarthParserENV = 12 EarthParserARG = 13 EarthParserLABEL = 14 EarthParserBUILD = 15 EarthParserWORKDIR = 16 EarthParserUSER = 17 EarthParserCMD = 18 EarthParserENTRYPOINT = 19 EarthParserGIT_CLONE = 20 EarthParserDOCKER_LOAD = 21 EarthParserDOCKER_PULL = 22 EarthParserADD = 23 EarthParserSTOPSIGNAL = 24 EarthParserONBUILD = 25 EarthParserHEALTHCHECK = 26 EarthParserSHELL = 27 EarthParserWITH_DOCKER = 28 EarthParserEND = 29 EarthParserCommand = 30 EarthParserNL = 31 EarthParserWS = 32 EarthParserAtom = 33 EarthParserEQUALS = 34 )
EarthParser tokens.
const ( EarthParserRULE_earthFile = 0 EarthParserRULE_targets = 1 EarthParserRULE_target = 2 EarthParserRULE_targetHeader = 3 EarthParserRULE_stmts = 4 EarthParserRULE_stmt = 5 EarthParserRULE_fromStmt = 6 EarthParserRULE_fromDockerfileStmt = 7 EarthParserRULE_copyStmt = 8 EarthParserRULE_saveStmt = 9 EarthParserRULE_saveImage = 10 EarthParserRULE_saveArtifact = 11 EarthParserRULE_runStmt = 12 EarthParserRULE_buildStmt = 13 EarthParserRULE_workdirStmt = 14 EarthParserRULE_userStmt = 15 EarthParserRULE_cmdStmt = 16 EarthParserRULE_entrypointStmt = 17 EarthParserRULE_exposeStmt = 18 EarthParserRULE_volumeStmt = 19 EarthParserRULE_envStmt = 20 EarthParserRULE_argStmt = 21 EarthParserRULE_envArgKey = 22 EarthParserRULE_envArgValue = 23 EarthParserRULE_labelStmt = 24 EarthParserRULE_labelKey = 25 EarthParserRULE_labelValue = 26 EarthParserRULE_gitCloneStmt = 27 EarthParserRULE_dockerLoadStmt = 28 EarthParserRULE_dockerPullStmt = 29 EarthParserRULE_addStmt = 30 EarthParserRULE_stopsignalStmt = 31 EarthParserRULE_onbuildStmt = 32 EarthParserRULE_healthcheckStmt = 33 EarthParserRULE_shellStmt = 34 EarthParserRULE_withDockerStmt = 35 EarthParserRULE_endStmt = 36 EarthParserRULE_genericCommandStmt = 37 EarthParserRULE_commandName = 38 EarthParserRULE_stmtWordsMaybeJSON = 39 EarthParserRULE_stmtWords = 40 EarthParserRULE_stmtWord = 41 )
EarthParser rules.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddStmtContext ¶
type AddStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewAddStmtContext ¶
func NewAddStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *AddStmtContext
func NewEmptyAddStmtContext ¶
func NewEmptyAddStmtContext() *AddStmtContext
func (*AddStmtContext) ADD ¶
func (s *AddStmtContext) ADD() antlr.TerminalNode
func (*AddStmtContext) EnterRule ¶
func (s *AddStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*AddStmtContext) ExitRule ¶
func (s *AddStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*AddStmtContext) GetParser ¶
func (s *AddStmtContext) GetParser() antlr.Parser
func (*AddStmtContext) GetRuleContext ¶
func (s *AddStmtContext) GetRuleContext() antlr.RuleContext
func (*AddStmtContext) IsAddStmtContext ¶
func (*AddStmtContext) IsAddStmtContext()
func (*AddStmtContext) StmtWords ¶
func (s *AddStmtContext) StmtWords() IStmtWordsContext
func (*AddStmtContext) ToStringTree ¶
func (s *AddStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*AddStmtContext) WS ¶
func (s *AddStmtContext) WS() antlr.TerminalNode
type ArgStmtContext ¶
type ArgStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewArgStmtContext ¶
func NewArgStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ArgStmtContext
func NewEmptyArgStmtContext ¶
func NewEmptyArgStmtContext() *ArgStmtContext
func (*ArgStmtContext) ARG ¶
func (s *ArgStmtContext) ARG() antlr.TerminalNode
func (*ArgStmtContext) AllWS ¶
func (s *ArgStmtContext) AllWS() []antlr.TerminalNode
func (*ArgStmtContext) EQUALS ¶
func (s *ArgStmtContext) EQUALS() antlr.TerminalNode
func (*ArgStmtContext) EnterRule ¶
func (s *ArgStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*ArgStmtContext) EnvArgKey ¶
func (s *ArgStmtContext) EnvArgKey() IEnvArgKeyContext
func (*ArgStmtContext) EnvArgValue ¶
func (s *ArgStmtContext) EnvArgValue() IEnvArgValueContext
func (*ArgStmtContext) ExitRule ¶
func (s *ArgStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*ArgStmtContext) GetParser ¶
func (s *ArgStmtContext) GetParser() antlr.Parser
func (*ArgStmtContext) GetRuleContext ¶
func (s *ArgStmtContext) GetRuleContext() antlr.RuleContext
func (*ArgStmtContext) IsArgStmtContext ¶
func (*ArgStmtContext) IsArgStmtContext()
func (*ArgStmtContext) ToStringTree ¶
func (s *ArgStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ArgStmtContext) WS ¶
func (s *ArgStmtContext) WS(i int) antlr.TerminalNode
type BaseEarthParserListener ¶
type BaseEarthParserListener struct{}
BaseEarthParserListener is a complete listener for a parse tree produced by EarthParser.
func (*BaseEarthParserListener) EnterAddStmt ¶
func (s *BaseEarthParserListener) EnterAddStmt(ctx *AddStmtContext)
EnterAddStmt is called when production addStmt is entered.
func (*BaseEarthParserListener) EnterArgStmt ¶
func (s *BaseEarthParserListener) EnterArgStmt(ctx *ArgStmtContext)
EnterArgStmt is called when production argStmt is entered.
func (*BaseEarthParserListener) EnterBuildStmt ¶
func (s *BaseEarthParserListener) EnterBuildStmt(ctx *BuildStmtContext)
EnterBuildStmt is called when production buildStmt is entered.
func (*BaseEarthParserListener) EnterCmdStmt ¶
func (s *BaseEarthParserListener) EnterCmdStmt(ctx *CmdStmtContext)
EnterCmdStmt is called when production cmdStmt is entered.
func (*BaseEarthParserListener) EnterCommandName ¶
func (s *BaseEarthParserListener) EnterCommandName(ctx *CommandNameContext)
EnterCommandName is called when production commandName is entered.
func (*BaseEarthParserListener) EnterCopyStmt ¶
func (s *BaseEarthParserListener) EnterCopyStmt(ctx *CopyStmtContext)
EnterCopyStmt is called when production copyStmt is entered.
func (*BaseEarthParserListener) EnterDockerLoadStmt ¶
func (s *BaseEarthParserListener) EnterDockerLoadStmt(ctx *DockerLoadStmtContext)
EnterDockerLoadStmt is called when production dockerLoadStmt is entered.
func (*BaseEarthParserListener) EnterDockerPullStmt ¶
func (s *BaseEarthParserListener) EnterDockerPullStmt(ctx *DockerPullStmtContext)
EnterDockerPullStmt is called when production dockerPullStmt is entered.
func (*BaseEarthParserListener) EnterEarthFile ¶
func (s *BaseEarthParserListener) EnterEarthFile(ctx *EarthFileContext)
EnterEarthFile is called when production earthFile is entered.
func (*BaseEarthParserListener) EnterEndStmt ¶ added in v0.3.2
func (s *BaseEarthParserListener) EnterEndStmt(ctx *EndStmtContext)
EnterEndStmt is called when production endStmt is entered.
func (*BaseEarthParserListener) EnterEntrypointStmt ¶
func (s *BaseEarthParserListener) EnterEntrypointStmt(ctx *EntrypointStmtContext)
EnterEntrypointStmt is called when production entrypointStmt is entered.
func (*BaseEarthParserListener) EnterEnvArgKey ¶
func (s *BaseEarthParserListener) EnterEnvArgKey(ctx *EnvArgKeyContext)
EnterEnvArgKey is called when production envArgKey is entered.
func (*BaseEarthParserListener) EnterEnvArgValue ¶
func (s *BaseEarthParserListener) EnterEnvArgValue(ctx *EnvArgValueContext)
EnterEnvArgValue is called when production envArgValue is entered.
func (*BaseEarthParserListener) EnterEnvStmt ¶
func (s *BaseEarthParserListener) EnterEnvStmt(ctx *EnvStmtContext)
EnterEnvStmt is called when production envStmt is entered.
func (*BaseEarthParserListener) EnterEveryRule ¶
func (s *BaseEarthParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseEarthParserListener) EnterExposeStmt ¶
func (s *BaseEarthParserListener) EnterExposeStmt(ctx *ExposeStmtContext)
EnterExposeStmt is called when production exposeStmt is entered.
func (*BaseEarthParserListener) EnterFromDockerfileStmt ¶ added in v0.3.0
func (s *BaseEarthParserListener) EnterFromDockerfileStmt(ctx *FromDockerfileStmtContext)
EnterFromDockerfileStmt is called when production fromDockerfileStmt is entered.
func (*BaseEarthParserListener) EnterFromStmt ¶
func (s *BaseEarthParserListener) EnterFromStmt(ctx *FromStmtContext)
EnterFromStmt is called when production fromStmt is entered.
func (*BaseEarthParserListener) EnterGenericCommandStmt ¶
func (s *BaseEarthParserListener) EnterGenericCommandStmt(ctx *GenericCommandStmtContext)
EnterGenericCommandStmt is called when production genericCommandStmt is entered.
func (*BaseEarthParserListener) EnterGitCloneStmt ¶
func (s *BaseEarthParserListener) EnterGitCloneStmt(ctx *GitCloneStmtContext)
EnterGitCloneStmt is called when production gitCloneStmt is entered.
func (*BaseEarthParserListener) EnterHealthcheckStmt ¶
func (s *BaseEarthParserListener) EnterHealthcheckStmt(ctx *HealthcheckStmtContext)
EnterHealthcheckStmt is called when production healthcheckStmt is entered.
func (*BaseEarthParserListener) EnterLabelKey ¶
func (s *BaseEarthParserListener) EnterLabelKey(ctx *LabelKeyContext)
EnterLabelKey is called when production labelKey is entered.
func (*BaseEarthParserListener) EnterLabelStmt ¶
func (s *BaseEarthParserListener) EnterLabelStmt(ctx *LabelStmtContext)
EnterLabelStmt is called when production labelStmt is entered.
func (*BaseEarthParserListener) EnterLabelValue ¶
func (s *BaseEarthParserListener) EnterLabelValue(ctx *LabelValueContext)
EnterLabelValue is called when production labelValue is entered.
func (*BaseEarthParserListener) EnterOnbuildStmt ¶
func (s *BaseEarthParserListener) EnterOnbuildStmt(ctx *OnbuildStmtContext)
EnterOnbuildStmt is called when production onbuildStmt is entered.
func (*BaseEarthParserListener) EnterRunStmt ¶
func (s *BaseEarthParserListener) EnterRunStmt(ctx *RunStmtContext)
EnterRunStmt is called when production runStmt is entered.
func (*BaseEarthParserListener) EnterSaveArtifact ¶
func (s *BaseEarthParserListener) EnterSaveArtifact(ctx *SaveArtifactContext)
EnterSaveArtifact is called when production saveArtifact is entered.
func (*BaseEarthParserListener) EnterSaveImage ¶
func (s *BaseEarthParserListener) EnterSaveImage(ctx *SaveImageContext)
EnterSaveImage is called when production saveImage is entered.
func (*BaseEarthParserListener) EnterSaveStmt ¶
func (s *BaseEarthParserListener) EnterSaveStmt(ctx *SaveStmtContext)
EnterSaveStmt is called when production saveStmt is entered.
func (*BaseEarthParserListener) EnterShellStmt ¶
func (s *BaseEarthParserListener) EnterShellStmt(ctx *ShellStmtContext)
EnterShellStmt is called when production shellStmt is entered.
func (*BaseEarthParserListener) EnterStmt ¶
func (s *BaseEarthParserListener) EnterStmt(ctx *StmtContext)
EnterStmt is called when production stmt is entered.
func (*BaseEarthParserListener) EnterStmtWord ¶
func (s *BaseEarthParserListener) EnterStmtWord(ctx *StmtWordContext)
EnterStmtWord is called when production stmtWord is entered.
func (*BaseEarthParserListener) EnterStmtWords ¶
func (s *BaseEarthParserListener) EnterStmtWords(ctx *StmtWordsContext)
EnterStmtWords is called when production stmtWords is entered.
func (*BaseEarthParserListener) EnterStmtWordsMaybeJSON ¶
func (s *BaseEarthParserListener) EnterStmtWordsMaybeJSON(ctx *StmtWordsMaybeJSONContext)
EnterStmtWordsMaybeJSON is called when production stmtWordsMaybeJSON is entered.
func (*BaseEarthParserListener) EnterStmts ¶
func (s *BaseEarthParserListener) EnterStmts(ctx *StmtsContext)
EnterStmts is called when production stmts is entered.
func (*BaseEarthParserListener) EnterStopsignalStmt ¶
func (s *BaseEarthParserListener) EnterStopsignalStmt(ctx *StopsignalStmtContext)
EnterStopsignalStmt is called when production stopsignalStmt is entered.
func (*BaseEarthParserListener) EnterTarget ¶
func (s *BaseEarthParserListener) EnterTarget(ctx *TargetContext)
EnterTarget is called when production target is entered.
func (*BaseEarthParserListener) EnterTargetHeader ¶
func (s *BaseEarthParserListener) EnterTargetHeader(ctx *TargetHeaderContext)
EnterTargetHeader is called when production targetHeader is entered.
func (*BaseEarthParserListener) EnterTargets ¶
func (s *BaseEarthParserListener) EnterTargets(ctx *TargetsContext)
EnterTargets is called when production targets is entered.
func (*BaseEarthParserListener) EnterUserStmt ¶
func (s *BaseEarthParserListener) EnterUserStmt(ctx *UserStmtContext)
EnterUserStmt is called when production userStmt is entered.
func (*BaseEarthParserListener) EnterVolumeStmt ¶
func (s *BaseEarthParserListener) EnterVolumeStmt(ctx *VolumeStmtContext)
EnterVolumeStmt is called when production volumeStmt is entered.
func (*BaseEarthParserListener) EnterWithDockerStmt ¶ added in v0.3.2
func (s *BaseEarthParserListener) EnterWithDockerStmt(ctx *WithDockerStmtContext)
EnterWithDockerStmt is called when production withDockerStmt is entered.
func (*BaseEarthParserListener) EnterWorkdirStmt ¶
func (s *BaseEarthParserListener) EnterWorkdirStmt(ctx *WorkdirStmtContext)
EnterWorkdirStmt is called when production workdirStmt is entered.
func (*BaseEarthParserListener) ExitAddStmt ¶
func (s *BaseEarthParserListener) ExitAddStmt(ctx *AddStmtContext)
ExitAddStmt is called when production addStmt is exited.
func (*BaseEarthParserListener) ExitArgStmt ¶
func (s *BaseEarthParserListener) ExitArgStmt(ctx *ArgStmtContext)
ExitArgStmt is called when production argStmt is exited.
func (*BaseEarthParserListener) ExitBuildStmt ¶
func (s *BaseEarthParserListener) ExitBuildStmt(ctx *BuildStmtContext)
ExitBuildStmt is called when production buildStmt is exited.
func (*BaseEarthParserListener) ExitCmdStmt ¶
func (s *BaseEarthParserListener) ExitCmdStmt(ctx *CmdStmtContext)
ExitCmdStmt is called when production cmdStmt is exited.
func (*BaseEarthParserListener) ExitCommandName ¶
func (s *BaseEarthParserListener) ExitCommandName(ctx *CommandNameContext)
ExitCommandName is called when production commandName is exited.
func (*BaseEarthParserListener) ExitCopyStmt ¶
func (s *BaseEarthParserListener) ExitCopyStmt(ctx *CopyStmtContext)
ExitCopyStmt is called when production copyStmt is exited.
func (*BaseEarthParserListener) ExitDockerLoadStmt ¶
func (s *BaseEarthParserListener) ExitDockerLoadStmt(ctx *DockerLoadStmtContext)
ExitDockerLoadStmt is called when production dockerLoadStmt is exited.
func (*BaseEarthParserListener) ExitDockerPullStmt ¶
func (s *BaseEarthParserListener) ExitDockerPullStmt(ctx *DockerPullStmtContext)
ExitDockerPullStmt is called when production dockerPullStmt is exited.
func (*BaseEarthParserListener) ExitEarthFile ¶
func (s *BaseEarthParserListener) ExitEarthFile(ctx *EarthFileContext)
ExitEarthFile is called when production earthFile is exited.
func (*BaseEarthParserListener) ExitEndStmt ¶ added in v0.3.2
func (s *BaseEarthParserListener) ExitEndStmt(ctx *EndStmtContext)
ExitEndStmt is called when production endStmt is exited.
func (*BaseEarthParserListener) ExitEntrypointStmt ¶
func (s *BaseEarthParserListener) ExitEntrypointStmt(ctx *EntrypointStmtContext)
ExitEntrypointStmt is called when production entrypointStmt is exited.
func (*BaseEarthParserListener) ExitEnvArgKey ¶
func (s *BaseEarthParserListener) ExitEnvArgKey(ctx *EnvArgKeyContext)
ExitEnvArgKey is called when production envArgKey is exited.
func (*BaseEarthParserListener) ExitEnvArgValue ¶
func (s *BaseEarthParserListener) ExitEnvArgValue(ctx *EnvArgValueContext)
ExitEnvArgValue is called when production envArgValue is exited.
func (*BaseEarthParserListener) ExitEnvStmt ¶
func (s *BaseEarthParserListener) ExitEnvStmt(ctx *EnvStmtContext)
ExitEnvStmt is called when production envStmt is exited.
func (*BaseEarthParserListener) ExitEveryRule ¶
func (s *BaseEarthParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseEarthParserListener) ExitExposeStmt ¶
func (s *BaseEarthParserListener) ExitExposeStmt(ctx *ExposeStmtContext)
ExitExposeStmt is called when production exposeStmt is exited.
func (*BaseEarthParserListener) ExitFromDockerfileStmt ¶ added in v0.3.0
func (s *BaseEarthParserListener) ExitFromDockerfileStmt(ctx *FromDockerfileStmtContext)
ExitFromDockerfileStmt is called when production fromDockerfileStmt is exited.
func (*BaseEarthParserListener) ExitFromStmt ¶
func (s *BaseEarthParserListener) ExitFromStmt(ctx *FromStmtContext)
ExitFromStmt is called when production fromStmt is exited.
func (*BaseEarthParserListener) ExitGenericCommandStmt ¶
func (s *BaseEarthParserListener) ExitGenericCommandStmt(ctx *GenericCommandStmtContext)
ExitGenericCommandStmt is called when production genericCommandStmt is exited.
func (*BaseEarthParserListener) ExitGitCloneStmt ¶
func (s *BaseEarthParserListener) ExitGitCloneStmt(ctx *GitCloneStmtContext)
ExitGitCloneStmt is called when production gitCloneStmt is exited.
func (*BaseEarthParserListener) ExitHealthcheckStmt ¶
func (s *BaseEarthParserListener) ExitHealthcheckStmt(ctx *HealthcheckStmtContext)
ExitHealthcheckStmt is called when production healthcheckStmt is exited.
func (*BaseEarthParserListener) ExitLabelKey ¶
func (s *BaseEarthParserListener) ExitLabelKey(ctx *LabelKeyContext)
ExitLabelKey is called when production labelKey is exited.
func (*BaseEarthParserListener) ExitLabelStmt ¶
func (s *BaseEarthParserListener) ExitLabelStmt(ctx *LabelStmtContext)
ExitLabelStmt is called when production labelStmt is exited.
func (*BaseEarthParserListener) ExitLabelValue ¶
func (s *BaseEarthParserListener) ExitLabelValue(ctx *LabelValueContext)
ExitLabelValue is called when production labelValue is exited.
func (*BaseEarthParserListener) ExitOnbuildStmt ¶
func (s *BaseEarthParserListener) ExitOnbuildStmt(ctx *OnbuildStmtContext)
ExitOnbuildStmt is called when production onbuildStmt is exited.
func (*BaseEarthParserListener) ExitRunStmt ¶
func (s *BaseEarthParserListener) ExitRunStmt(ctx *RunStmtContext)
ExitRunStmt is called when production runStmt is exited.
func (*BaseEarthParserListener) ExitSaveArtifact ¶
func (s *BaseEarthParserListener) ExitSaveArtifact(ctx *SaveArtifactContext)
ExitSaveArtifact is called when production saveArtifact is exited.
func (*BaseEarthParserListener) ExitSaveImage ¶
func (s *BaseEarthParserListener) ExitSaveImage(ctx *SaveImageContext)
ExitSaveImage is called when production saveImage is exited.
func (*BaseEarthParserListener) ExitSaveStmt ¶
func (s *BaseEarthParserListener) ExitSaveStmt(ctx *SaveStmtContext)
ExitSaveStmt is called when production saveStmt is exited.
func (*BaseEarthParserListener) ExitShellStmt ¶
func (s *BaseEarthParserListener) ExitShellStmt(ctx *ShellStmtContext)
ExitShellStmt is called when production shellStmt is exited.
func (*BaseEarthParserListener) ExitStmt ¶
func (s *BaseEarthParserListener) ExitStmt(ctx *StmtContext)
ExitStmt is called when production stmt is exited.
func (*BaseEarthParserListener) ExitStmtWord ¶
func (s *BaseEarthParserListener) ExitStmtWord(ctx *StmtWordContext)
ExitStmtWord is called when production stmtWord is exited.
func (*BaseEarthParserListener) ExitStmtWords ¶
func (s *BaseEarthParserListener) ExitStmtWords(ctx *StmtWordsContext)
ExitStmtWords is called when production stmtWords is exited.
func (*BaseEarthParserListener) ExitStmtWordsMaybeJSON ¶
func (s *BaseEarthParserListener) ExitStmtWordsMaybeJSON(ctx *StmtWordsMaybeJSONContext)
ExitStmtWordsMaybeJSON is called when production stmtWordsMaybeJSON is exited.
func (*BaseEarthParserListener) ExitStmts ¶
func (s *BaseEarthParserListener) ExitStmts(ctx *StmtsContext)
ExitStmts is called when production stmts is exited.
func (*BaseEarthParserListener) ExitStopsignalStmt ¶
func (s *BaseEarthParserListener) ExitStopsignalStmt(ctx *StopsignalStmtContext)
ExitStopsignalStmt is called when production stopsignalStmt is exited.
func (*BaseEarthParserListener) ExitTarget ¶
func (s *BaseEarthParserListener) ExitTarget(ctx *TargetContext)
ExitTarget is called when production target is exited.
func (*BaseEarthParserListener) ExitTargetHeader ¶
func (s *BaseEarthParserListener) ExitTargetHeader(ctx *TargetHeaderContext)
ExitTargetHeader is called when production targetHeader is exited.
func (*BaseEarthParserListener) ExitTargets ¶
func (s *BaseEarthParserListener) ExitTargets(ctx *TargetsContext)
ExitTargets is called when production targets is exited.
func (*BaseEarthParserListener) ExitUserStmt ¶
func (s *BaseEarthParserListener) ExitUserStmt(ctx *UserStmtContext)
ExitUserStmt is called when production userStmt is exited.
func (*BaseEarthParserListener) ExitVolumeStmt ¶
func (s *BaseEarthParserListener) ExitVolumeStmt(ctx *VolumeStmtContext)
ExitVolumeStmt is called when production volumeStmt is exited.
func (*BaseEarthParserListener) ExitWithDockerStmt ¶ added in v0.3.2
func (s *BaseEarthParserListener) ExitWithDockerStmt(ctx *WithDockerStmtContext)
ExitWithDockerStmt is called when production withDockerStmt is exited.
func (*BaseEarthParserListener) ExitWorkdirStmt ¶
func (s *BaseEarthParserListener) ExitWorkdirStmt(ctx *WorkdirStmtContext)
ExitWorkdirStmt is called when production workdirStmt is exited.
func (*BaseEarthParserListener) VisitErrorNode ¶
func (s *BaseEarthParserListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseEarthParserListener) VisitTerminal ¶
func (s *BaseEarthParserListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BuildStmtContext ¶
type BuildStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBuildStmtContext ¶
func NewBuildStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BuildStmtContext
func NewEmptyBuildStmtContext ¶
func NewEmptyBuildStmtContext() *BuildStmtContext
func (*BuildStmtContext) BUILD ¶
func (s *BuildStmtContext) BUILD() antlr.TerminalNode
func (*BuildStmtContext) EnterRule ¶
func (s *BuildStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*BuildStmtContext) ExitRule ¶
func (s *BuildStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*BuildStmtContext) GetParser ¶
func (s *BuildStmtContext) GetParser() antlr.Parser
func (*BuildStmtContext) GetRuleContext ¶
func (s *BuildStmtContext) GetRuleContext() antlr.RuleContext
func (*BuildStmtContext) IsBuildStmtContext ¶
func (*BuildStmtContext) IsBuildStmtContext()
func (*BuildStmtContext) StmtWords ¶
func (s *BuildStmtContext) StmtWords() IStmtWordsContext
func (*BuildStmtContext) ToStringTree ¶
func (s *BuildStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*BuildStmtContext) WS ¶
func (s *BuildStmtContext) WS() antlr.TerminalNode
type CmdStmtContext ¶
type CmdStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCmdStmtContext ¶
func NewCmdStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CmdStmtContext
func NewEmptyCmdStmtContext ¶
func NewEmptyCmdStmtContext() *CmdStmtContext
func (*CmdStmtContext) CMD ¶
func (s *CmdStmtContext) CMD() antlr.TerminalNode
func (*CmdStmtContext) EnterRule ¶
func (s *CmdStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*CmdStmtContext) ExitRule ¶
func (s *CmdStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*CmdStmtContext) GetParser ¶
func (s *CmdStmtContext) GetParser() antlr.Parser
func (*CmdStmtContext) GetRuleContext ¶
func (s *CmdStmtContext) GetRuleContext() antlr.RuleContext
func (*CmdStmtContext) IsCmdStmtContext ¶
func (*CmdStmtContext) IsCmdStmtContext()
func (*CmdStmtContext) StmtWordsMaybeJSON ¶
func (s *CmdStmtContext) StmtWordsMaybeJSON() IStmtWordsMaybeJSONContext
func (*CmdStmtContext) ToStringTree ¶
func (s *CmdStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*CmdStmtContext) WS ¶
func (s *CmdStmtContext) WS() antlr.TerminalNode
type CommandNameContext ¶
type CommandNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCommandNameContext ¶
func NewCommandNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CommandNameContext
func NewEmptyCommandNameContext ¶
func NewEmptyCommandNameContext() *CommandNameContext
func (*CommandNameContext) Command ¶
func (s *CommandNameContext) Command() antlr.TerminalNode
func (*CommandNameContext) EnterRule ¶
func (s *CommandNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*CommandNameContext) ExitRule ¶
func (s *CommandNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*CommandNameContext) GetParser ¶
func (s *CommandNameContext) GetParser() antlr.Parser
func (*CommandNameContext) GetRuleContext ¶
func (s *CommandNameContext) GetRuleContext() antlr.RuleContext
func (*CommandNameContext) IsCommandNameContext ¶
func (*CommandNameContext) IsCommandNameContext()
func (*CommandNameContext) ToStringTree ¶
func (s *CommandNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type CopyStmtContext ¶
type CopyStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewCopyStmtContext ¶
func NewCopyStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *CopyStmtContext
func NewEmptyCopyStmtContext ¶
func NewEmptyCopyStmtContext() *CopyStmtContext
func (*CopyStmtContext) COPY ¶
func (s *CopyStmtContext) COPY() antlr.TerminalNode
func (*CopyStmtContext) EnterRule ¶
func (s *CopyStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*CopyStmtContext) ExitRule ¶
func (s *CopyStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*CopyStmtContext) GetParser ¶
func (s *CopyStmtContext) GetParser() antlr.Parser
func (*CopyStmtContext) GetRuleContext ¶
func (s *CopyStmtContext) GetRuleContext() antlr.RuleContext
func (*CopyStmtContext) IsCopyStmtContext ¶
func (*CopyStmtContext) IsCopyStmtContext()
func (*CopyStmtContext) StmtWords ¶
func (s *CopyStmtContext) StmtWords() IStmtWordsContext
func (*CopyStmtContext) ToStringTree ¶
func (s *CopyStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*CopyStmtContext) WS ¶
func (s *CopyStmtContext) WS() antlr.TerminalNode
type DockerLoadStmtContext ¶
type DockerLoadStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDockerLoadStmtContext ¶
func NewDockerLoadStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DockerLoadStmtContext
func NewEmptyDockerLoadStmtContext ¶
func NewEmptyDockerLoadStmtContext() *DockerLoadStmtContext
func (*DockerLoadStmtContext) DOCKER_LOAD ¶
func (s *DockerLoadStmtContext) DOCKER_LOAD() antlr.TerminalNode
func (*DockerLoadStmtContext) EnterRule ¶
func (s *DockerLoadStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*DockerLoadStmtContext) ExitRule ¶
func (s *DockerLoadStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*DockerLoadStmtContext) GetParser ¶
func (s *DockerLoadStmtContext) GetParser() antlr.Parser
func (*DockerLoadStmtContext) GetRuleContext ¶
func (s *DockerLoadStmtContext) GetRuleContext() antlr.RuleContext
func (*DockerLoadStmtContext) IsDockerLoadStmtContext ¶
func (*DockerLoadStmtContext) IsDockerLoadStmtContext()
func (*DockerLoadStmtContext) StmtWords ¶
func (s *DockerLoadStmtContext) StmtWords() IStmtWordsContext
func (*DockerLoadStmtContext) ToStringTree ¶
func (s *DockerLoadStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*DockerLoadStmtContext) WS ¶
func (s *DockerLoadStmtContext) WS() antlr.TerminalNode
type DockerPullStmtContext ¶
type DockerPullStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDockerPullStmtContext ¶
func NewDockerPullStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DockerPullStmtContext
func NewEmptyDockerPullStmtContext ¶
func NewEmptyDockerPullStmtContext() *DockerPullStmtContext
func (*DockerPullStmtContext) DOCKER_PULL ¶
func (s *DockerPullStmtContext) DOCKER_PULL() antlr.TerminalNode
func (*DockerPullStmtContext) EnterRule ¶
func (s *DockerPullStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*DockerPullStmtContext) ExitRule ¶
func (s *DockerPullStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*DockerPullStmtContext) GetParser ¶
func (s *DockerPullStmtContext) GetParser() antlr.Parser
func (*DockerPullStmtContext) GetRuleContext ¶
func (s *DockerPullStmtContext) GetRuleContext() antlr.RuleContext
func (*DockerPullStmtContext) IsDockerPullStmtContext ¶
func (*DockerPullStmtContext) IsDockerPullStmtContext()
func (*DockerPullStmtContext) StmtWords ¶
func (s *DockerPullStmtContext) StmtWords() IStmtWordsContext
func (*DockerPullStmtContext) ToStringTree ¶
func (s *DockerPullStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*DockerPullStmtContext) WS ¶
func (s *DockerPullStmtContext) WS() antlr.TerminalNode
type EarthFileContext ¶
type EarthFileContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEarthFileContext ¶
func NewEarthFileContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EarthFileContext
func NewEmptyEarthFileContext ¶
func NewEmptyEarthFileContext() *EarthFileContext
func (*EarthFileContext) AllNL ¶
func (s *EarthFileContext) AllNL() []antlr.TerminalNode
func (*EarthFileContext) EOF ¶
func (s *EarthFileContext) EOF() antlr.TerminalNode
func (*EarthFileContext) EnterRule ¶
func (s *EarthFileContext) EnterRule(listener antlr.ParseTreeListener)
func (*EarthFileContext) ExitRule ¶
func (s *EarthFileContext) ExitRule(listener antlr.ParseTreeListener)
func (*EarthFileContext) GetParser ¶
func (s *EarthFileContext) GetParser() antlr.Parser
func (*EarthFileContext) GetRuleContext ¶
func (s *EarthFileContext) GetRuleContext() antlr.RuleContext
func (*EarthFileContext) IsEarthFileContext ¶
func (*EarthFileContext) IsEarthFileContext()
func (*EarthFileContext) NL ¶
func (s *EarthFileContext) NL(i int) antlr.TerminalNode
func (*EarthFileContext) Stmts ¶
func (s *EarthFileContext) Stmts() IStmtsContext
func (*EarthFileContext) Targets ¶
func (s *EarthFileContext) Targets() ITargetsContext
func (*EarthFileContext) ToStringTree ¶
func (s *EarthFileContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EarthLexer ¶
func NewEarthLexer ¶
func NewEarthLexer(input antlr.CharStream) *EarthLexer
type EarthParser ¶
type EarthParser struct {
*antlr.BaseParser
}
func NewEarthParser ¶
func NewEarthParser(input antlr.TokenStream) *EarthParser
func (*EarthParser) AddStmt ¶
func (p *EarthParser) AddStmt() (localctx IAddStmtContext)
func (*EarthParser) ArgStmt ¶
func (p *EarthParser) ArgStmt() (localctx IArgStmtContext)
func (*EarthParser) BuildStmt ¶
func (p *EarthParser) BuildStmt() (localctx IBuildStmtContext)
func (*EarthParser) CmdStmt ¶
func (p *EarthParser) CmdStmt() (localctx ICmdStmtContext)
func (*EarthParser) CommandName ¶
func (p *EarthParser) CommandName() (localctx ICommandNameContext)
func (*EarthParser) CopyStmt ¶
func (p *EarthParser) CopyStmt() (localctx ICopyStmtContext)
func (*EarthParser) DockerLoadStmt ¶
func (p *EarthParser) DockerLoadStmt() (localctx IDockerLoadStmtContext)
func (*EarthParser) DockerPullStmt ¶
func (p *EarthParser) DockerPullStmt() (localctx IDockerPullStmtContext)
func (*EarthParser) EarthFile ¶
func (p *EarthParser) EarthFile() (localctx IEarthFileContext)
func (*EarthParser) EndStmt ¶ added in v0.3.2
func (p *EarthParser) EndStmt() (localctx IEndStmtContext)
func (*EarthParser) EntrypointStmt ¶
func (p *EarthParser) EntrypointStmt() (localctx IEntrypointStmtContext)
func (*EarthParser) EnvArgKey ¶
func (p *EarthParser) EnvArgKey() (localctx IEnvArgKeyContext)
func (*EarthParser) EnvArgValue ¶
func (p *EarthParser) EnvArgValue() (localctx IEnvArgValueContext)
func (*EarthParser) EnvStmt ¶
func (p *EarthParser) EnvStmt() (localctx IEnvStmtContext)
func (*EarthParser) ExposeStmt ¶
func (p *EarthParser) ExposeStmt() (localctx IExposeStmtContext)
func (*EarthParser) FromDockerfileStmt ¶ added in v0.3.0
func (p *EarthParser) FromDockerfileStmt() (localctx IFromDockerfileStmtContext)
func (*EarthParser) FromStmt ¶
func (p *EarthParser) FromStmt() (localctx IFromStmtContext)
func (*EarthParser) GenericCommandStmt ¶
func (p *EarthParser) GenericCommandStmt() (localctx IGenericCommandStmtContext)
func (*EarthParser) GitCloneStmt ¶
func (p *EarthParser) GitCloneStmt() (localctx IGitCloneStmtContext)
func (*EarthParser) HealthcheckStmt ¶
func (p *EarthParser) HealthcheckStmt() (localctx IHealthcheckStmtContext)
func (*EarthParser) LabelKey ¶
func (p *EarthParser) LabelKey() (localctx ILabelKeyContext)
func (*EarthParser) LabelStmt ¶
func (p *EarthParser) LabelStmt() (localctx ILabelStmtContext)
func (*EarthParser) LabelValue ¶
func (p *EarthParser) LabelValue() (localctx ILabelValueContext)
func (*EarthParser) OnbuildStmt ¶
func (p *EarthParser) OnbuildStmt() (localctx IOnbuildStmtContext)
func (*EarthParser) RunStmt ¶
func (p *EarthParser) RunStmt() (localctx IRunStmtContext)
func (*EarthParser) SaveArtifact ¶
func (p *EarthParser) SaveArtifact() (localctx ISaveArtifactContext)
func (*EarthParser) SaveImage ¶
func (p *EarthParser) SaveImage() (localctx ISaveImageContext)
func (*EarthParser) SaveStmt ¶
func (p *EarthParser) SaveStmt() (localctx ISaveStmtContext)
func (*EarthParser) ShellStmt ¶
func (p *EarthParser) ShellStmt() (localctx IShellStmtContext)
func (*EarthParser) Stmt ¶
func (p *EarthParser) Stmt() (localctx IStmtContext)
func (*EarthParser) StmtWord ¶
func (p *EarthParser) StmtWord() (localctx IStmtWordContext)
func (*EarthParser) StmtWords ¶
func (p *EarthParser) StmtWords() (localctx IStmtWordsContext)
func (*EarthParser) StmtWordsMaybeJSON ¶
func (p *EarthParser) StmtWordsMaybeJSON() (localctx IStmtWordsMaybeJSONContext)
func (*EarthParser) Stmts ¶
func (p *EarthParser) Stmts() (localctx IStmtsContext)
func (*EarthParser) StopsignalStmt ¶
func (p *EarthParser) StopsignalStmt() (localctx IStopsignalStmtContext)
func (*EarthParser) Target ¶
func (p *EarthParser) Target() (localctx ITargetContext)
func (*EarthParser) TargetHeader ¶
func (p *EarthParser) TargetHeader() (localctx ITargetHeaderContext)
func (*EarthParser) Targets ¶
func (p *EarthParser) Targets() (localctx ITargetsContext)
func (*EarthParser) UserStmt ¶
func (p *EarthParser) UserStmt() (localctx IUserStmtContext)
func (*EarthParser) VolumeStmt ¶
func (p *EarthParser) VolumeStmt() (localctx IVolumeStmtContext)
func (*EarthParser) WithDockerStmt ¶ added in v0.3.2
func (p *EarthParser) WithDockerStmt() (localctx IWithDockerStmtContext)
func (*EarthParser) WorkdirStmt ¶
func (p *EarthParser) WorkdirStmt() (localctx IWorkdirStmtContext)
type EarthParserListener ¶
type EarthParserListener interface { antlr.ParseTreeListener // EnterEarthFile is called when entering the earthFile production. EnterEarthFile(c *EarthFileContext) // EnterTargets is called when entering the targets production. EnterTargets(c *TargetsContext) // EnterTarget is called when entering the target production. EnterTarget(c *TargetContext) // EnterTargetHeader is called when entering the targetHeader production. EnterTargetHeader(c *TargetHeaderContext) // EnterStmts is called when entering the stmts production. EnterStmts(c *StmtsContext) // EnterStmt is called when entering the stmt production. EnterStmt(c *StmtContext) // EnterFromStmt is called when entering the fromStmt production. EnterFromStmt(c *FromStmtContext) // EnterFromDockerfileStmt is called when entering the fromDockerfileStmt production. EnterFromDockerfileStmt(c *FromDockerfileStmtContext) // EnterCopyStmt is called when entering the copyStmt production. EnterCopyStmt(c *CopyStmtContext) // EnterSaveStmt is called when entering the saveStmt production. EnterSaveStmt(c *SaveStmtContext) // EnterSaveImage is called when entering the saveImage production. EnterSaveImage(c *SaveImageContext) // EnterSaveArtifact is called when entering the saveArtifact production. EnterSaveArtifact(c *SaveArtifactContext) // EnterRunStmt is called when entering the runStmt production. EnterRunStmt(c *RunStmtContext) // EnterBuildStmt is called when entering the buildStmt production. EnterBuildStmt(c *BuildStmtContext) // EnterWorkdirStmt is called when entering the workdirStmt production. EnterWorkdirStmt(c *WorkdirStmtContext) // EnterUserStmt is called when entering the userStmt production. EnterUserStmt(c *UserStmtContext) // EnterCmdStmt is called when entering the cmdStmt production. EnterCmdStmt(c *CmdStmtContext) // EnterEntrypointStmt is called when entering the entrypointStmt production. EnterEntrypointStmt(c *EntrypointStmtContext) // EnterExposeStmt is called when entering the exposeStmt production. EnterExposeStmt(c *ExposeStmtContext) // EnterVolumeStmt is called when entering the volumeStmt production. EnterVolumeStmt(c *VolumeStmtContext) // EnterEnvStmt is called when entering the envStmt production. EnterEnvStmt(c *EnvStmtContext) // EnterArgStmt is called when entering the argStmt production. EnterArgStmt(c *ArgStmtContext) // EnterEnvArgKey is called when entering the envArgKey production. EnterEnvArgKey(c *EnvArgKeyContext) // EnterEnvArgValue is called when entering the envArgValue production. EnterEnvArgValue(c *EnvArgValueContext) // EnterLabelStmt is called when entering the labelStmt production. EnterLabelStmt(c *LabelStmtContext) // EnterLabelKey is called when entering the labelKey production. EnterLabelKey(c *LabelKeyContext) // EnterLabelValue is called when entering the labelValue production. EnterLabelValue(c *LabelValueContext) // EnterGitCloneStmt is called when entering the gitCloneStmt production. EnterGitCloneStmt(c *GitCloneStmtContext) // EnterDockerLoadStmt is called when entering the dockerLoadStmt production. EnterDockerLoadStmt(c *DockerLoadStmtContext) // EnterDockerPullStmt is called when entering the dockerPullStmt production. EnterDockerPullStmt(c *DockerPullStmtContext) // EnterAddStmt is called when entering the addStmt production. EnterAddStmt(c *AddStmtContext) // EnterStopsignalStmt is called when entering the stopsignalStmt production. EnterStopsignalStmt(c *StopsignalStmtContext) // EnterOnbuildStmt is called when entering the onbuildStmt production. EnterOnbuildStmt(c *OnbuildStmtContext) // EnterHealthcheckStmt is called when entering the healthcheckStmt production. EnterHealthcheckStmt(c *HealthcheckStmtContext) // EnterShellStmt is called when entering the shellStmt production. EnterShellStmt(c *ShellStmtContext) // EnterWithDockerStmt is called when entering the withDockerStmt production. EnterWithDockerStmt(c *WithDockerStmtContext) // EnterEndStmt is called when entering the endStmt production. EnterEndStmt(c *EndStmtContext) // EnterGenericCommandStmt is called when entering the genericCommandStmt production. EnterGenericCommandStmt(c *GenericCommandStmtContext) // EnterCommandName is called when entering the commandName production. EnterCommandName(c *CommandNameContext) // EnterStmtWordsMaybeJSON is called when entering the stmtWordsMaybeJSON production. EnterStmtWordsMaybeJSON(c *StmtWordsMaybeJSONContext) // EnterStmtWords is called when entering the stmtWords production. EnterStmtWords(c *StmtWordsContext) // EnterStmtWord is called when entering the stmtWord production. EnterStmtWord(c *StmtWordContext) // ExitEarthFile is called when exiting the earthFile production. ExitEarthFile(c *EarthFileContext) // ExitTargets is called when exiting the targets production. ExitTargets(c *TargetsContext) // ExitTarget is called when exiting the target production. ExitTarget(c *TargetContext) // ExitTargetHeader is called when exiting the targetHeader production. ExitTargetHeader(c *TargetHeaderContext) // ExitStmts is called when exiting the stmts production. ExitStmts(c *StmtsContext) // ExitStmt is called when exiting the stmt production. ExitStmt(c *StmtContext) // ExitFromStmt is called when exiting the fromStmt production. ExitFromStmt(c *FromStmtContext) // ExitFromDockerfileStmt is called when exiting the fromDockerfileStmt production. ExitFromDockerfileStmt(c *FromDockerfileStmtContext) // ExitCopyStmt is called when exiting the copyStmt production. ExitCopyStmt(c *CopyStmtContext) // ExitSaveStmt is called when exiting the saveStmt production. ExitSaveStmt(c *SaveStmtContext) // ExitSaveImage is called when exiting the saveImage production. ExitSaveImage(c *SaveImageContext) // ExitSaveArtifact is called when exiting the saveArtifact production. ExitSaveArtifact(c *SaveArtifactContext) // ExitRunStmt is called when exiting the runStmt production. ExitRunStmt(c *RunStmtContext) // ExitBuildStmt is called when exiting the buildStmt production. ExitBuildStmt(c *BuildStmtContext) // ExitWorkdirStmt is called when exiting the workdirStmt production. ExitWorkdirStmt(c *WorkdirStmtContext) // ExitUserStmt is called when exiting the userStmt production. ExitUserStmt(c *UserStmtContext) // ExitCmdStmt is called when exiting the cmdStmt production. ExitCmdStmt(c *CmdStmtContext) // ExitEntrypointStmt is called when exiting the entrypointStmt production. ExitEntrypointStmt(c *EntrypointStmtContext) // ExitExposeStmt is called when exiting the exposeStmt production. ExitExposeStmt(c *ExposeStmtContext) // ExitVolumeStmt is called when exiting the volumeStmt production. ExitVolumeStmt(c *VolumeStmtContext) // ExitEnvStmt is called when exiting the envStmt production. ExitEnvStmt(c *EnvStmtContext) // ExitArgStmt is called when exiting the argStmt production. ExitArgStmt(c *ArgStmtContext) // ExitEnvArgKey is called when exiting the envArgKey production. ExitEnvArgKey(c *EnvArgKeyContext) // ExitEnvArgValue is called when exiting the envArgValue production. ExitEnvArgValue(c *EnvArgValueContext) // ExitLabelStmt is called when exiting the labelStmt production. ExitLabelStmt(c *LabelStmtContext) // ExitLabelKey is called when exiting the labelKey production. ExitLabelKey(c *LabelKeyContext) // ExitLabelValue is called when exiting the labelValue production. ExitLabelValue(c *LabelValueContext) // ExitGitCloneStmt is called when exiting the gitCloneStmt production. ExitGitCloneStmt(c *GitCloneStmtContext) // ExitDockerLoadStmt is called when exiting the dockerLoadStmt production. ExitDockerLoadStmt(c *DockerLoadStmtContext) // ExitDockerPullStmt is called when exiting the dockerPullStmt production. ExitDockerPullStmt(c *DockerPullStmtContext) // ExitAddStmt is called when exiting the addStmt production. ExitAddStmt(c *AddStmtContext) // ExitStopsignalStmt is called when exiting the stopsignalStmt production. ExitStopsignalStmt(c *StopsignalStmtContext) // ExitOnbuildStmt is called when exiting the onbuildStmt production. ExitOnbuildStmt(c *OnbuildStmtContext) // ExitHealthcheckStmt is called when exiting the healthcheckStmt production. ExitHealthcheckStmt(c *HealthcheckStmtContext) // ExitShellStmt is called when exiting the shellStmt production. ExitShellStmt(c *ShellStmtContext) // ExitWithDockerStmt is called when exiting the withDockerStmt production. ExitWithDockerStmt(c *WithDockerStmtContext) // ExitEndStmt is called when exiting the endStmt production. ExitEndStmt(c *EndStmtContext) // ExitGenericCommandStmt is called when exiting the genericCommandStmt production. ExitGenericCommandStmt(c *GenericCommandStmtContext) // ExitCommandName is called when exiting the commandName production. ExitCommandName(c *CommandNameContext) // ExitStmtWordsMaybeJSON is called when exiting the stmtWordsMaybeJSON production. ExitStmtWordsMaybeJSON(c *StmtWordsMaybeJSONContext) // ExitStmtWords is called when exiting the stmtWords production. ExitStmtWords(c *StmtWordsContext) // ExitStmtWord is called when exiting the stmtWord production. ExitStmtWord(c *StmtWordContext) }
EarthParserListener is a complete listener for a parse tree produced by EarthParser.
type EndStmtContext ¶ added in v0.3.2
type EndStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEndStmtContext ¶ added in v0.3.2
func NewEmptyEndStmtContext() *EndStmtContext
func NewEndStmtContext ¶ added in v0.3.2
func NewEndStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EndStmtContext
func (*EndStmtContext) END ¶ added in v0.3.2
func (s *EndStmtContext) END() antlr.TerminalNode
func (*EndStmtContext) EnterRule ¶ added in v0.3.2
func (s *EndStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*EndStmtContext) ExitRule ¶ added in v0.3.2
func (s *EndStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*EndStmtContext) GetParser ¶ added in v0.3.2
func (s *EndStmtContext) GetParser() antlr.Parser
func (*EndStmtContext) GetRuleContext ¶ added in v0.3.2
func (s *EndStmtContext) GetRuleContext() antlr.RuleContext
func (*EndStmtContext) IsEndStmtContext ¶ added in v0.3.2
func (*EndStmtContext) IsEndStmtContext()
func (*EndStmtContext) StmtWords ¶ added in v0.3.2
func (s *EndStmtContext) StmtWords() IStmtWordsContext
func (*EndStmtContext) ToStringTree ¶ added in v0.3.2
func (s *EndStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*EndStmtContext) WS ¶ added in v0.3.2
func (s *EndStmtContext) WS() antlr.TerminalNode
type EntrypointStmtContext ¶
type EntrypointStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEntrypointStmtContext ¶
func NewEmptyEntrypointStmtContext() *EntrypointStmtContext
func NewEntrypointStmtContext ¶
func NewEntrypointStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EntrypointStmtContext
func (*EntrypointStmtContext) ENTRYPOINT ¶
func (s *EntrypointStmtContext) ENTRYPOINT() antlr.TerminalNode
func (*EntrypointStmtContext) EnterRule ¶
func (s *EntrypointStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*EntrypointStmtContext) ExitRule ¶
func (s *EntrypointStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*EntrypointStmtContext) GetParser ¶
func (s *EntrypointStmtContext) GetParser() antlr.Parser
func (*EntrypointStmtContext) GetRuleContext ¶
func (s *EntrypointStmtContext) GetRuleContext() antlr.RuleContext
func (*EntrypointStmtContext) IsEntrypointStmtContext ¶
func (*EntrypointStmtContext) IsEntrypointStmtContext()
func (*EntrypointStmtContext) StmtWordsMaybeJSON ¶
func (s *EntrypointStmtContext) StmtWordsMaybeJSON() IStmtWordsMaybeJSONContext
func (*EntrypointStmtContext) ToStringTree ¶
func (s *EntrypointStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*EntrypointStmtContext) WS ¶
func (s *EntrypointStmtContext) WS() antlr.TerminalNode
type EnvArgKeyContext ¶
type EnvArgKeyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEnvArgKeyContext ¶
func NewEmptyEnvArgKeyContext() *EnvArgKeyContext
func NewEnvArgKeyContext ¶
func NewEnvArgKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnvArgKeyContext
func (*EnvArgKeyContext) Atom ¶
func (s *EnvArgKeyContext) Atom() antlr.TerminalNode
func (*EnvArgKeyContext) EnterRule ¶
func (s *EnvArgKeyContext) EnterRule(listener antlr.ParseTreeListener)
func (*EnvArgKeyContext) ExitRule ¶
func (s *EnvArgKeyContext) ExitRule(listener antlr.ParseTreeListener)
func (*EnvArgKeyContext) GetParser ¶
func (s *EnvArgKeyContext) GetParser() antlr.Parser
func (*EnvArgKeyContext) GetRuleContext ¶
func (s *EnvArgKeyContext) GetRuleContext() antlr.RuleContext
func (*EnvArgKeyContext) IsEnvArgKeyContext ¶
func (*EnvArgKeyContext) IsEnvArgKeyContext()
func (*EnvArgKeyContext) ToStringTree ¶
func (s *EnvArgKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type EnvArgValueContext ¶
type EnvArgValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEnvArgValueContext ¶
func NewEmptyEnvArgValueContext() *EnvArgValueContext
func NewEnvArgValueContext ¶
func NewEnvArgValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnvArgValueContext
func (*EnvArgValueContext) AllAtom ¶
func (s *EnvArgValueContext) AllAtom() []antlr.TerminalNode
func (*EnvArgValueContext) AllWS ¶
func (s *EnvArgValueContext) AllWS() []antlr.TerminalNode
func (*EnvArgValueContext) Atom ¶
func (s *EnvArgValueContext) Atom(i int) antlr.TerminalNode
func (*EnvArgValueContext) EnterRule ¶
func (s *EnvArgValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*EnvArgValueContext) ExitRule ¶
func (s *EnvArgValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*EnvArgValueContext) GetParser ¶
func (s *EnvArgValueContext) GetParser() antlr.Parser
func (*EnvArgValueContext) GetRuleContext ¶
func (s *EnvArgValueContext) GetRuleContext() antlr.RuleContext
func (*EnvArgValueContext) IsEnvArgValueContext ¶
func (*EnvArgValueContext) IsEnvArgValueContext()
func (*EnvArgValueContext) ToStringTree ¶
func (s *EnvArgValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*EnvArgValueContext) WS ¶
func (s *EnvArgValueContext) WS(i int) antlr.TerminalNode
type EnvStmtContext ¶
type EnvStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyEnvStmtContext ¶
func NewEmptyEnvStmtContext() *EnvStmtContext
func NewEnvStmtContext ¶
func NewEnvStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *EnvStmtContext
func (*EnvStmtContext) AllWS ¶
func (s *EnvStmtContext) AllWS() []antlr.TerminalNode
func (*EnvStmtContext) ENV ¶
func (s *EnvStmtContext) ENV() antlr.TerminalNode
func (*EnvStmtContext) EQUALS ¶
func (s *EnvStmtContext) EQUALS() antlr.TerminalNode
func (*EnvStmtContext) EnterRule ¶
func (s *EnvStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*EnvStmtContext) EnvArgKey ¶
func (s *EnvStmtContext) EnvArgKey() IEnvArgKeyContext
func (*EnvStmtContext) EnvArgValue ¶
func (s *EnvStmtContext) EnvArgValue() IEnvArgValueContext
func (*EnvStmtContext) ExitRule ¶
func (s *EnvStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*EnvStmtContext) GetParser ¶
func (s *EnvStmtContext) GetParser() antlr.Parser
func (*EnvStmtContext) GetRuleContext ¶
func (s *EnvStmtContext) GetRuleContext() antlr.RuleContext
func (*EnvStmtContext) IsEnvStmtContext ¶
func (*EnvStmtContext) IsEnvStmtContext()
func (*EnvStmtContext) ToStringTree ¶
func (s *EnvStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*EnvStmtContext) WS ¶
func (s *EnvStmtContext) WS(i int) antlr.TerminalNode
type ExposeStmtContext ¶
type ExposeStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyExposeStmtContext ¶
func NewEmptyExposeStmtContext() *ExposeStmtContext
func NewExposeStmtContext ¶
func NewExposeStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExposeStmtContext
func (*ExposeStmtContext) EXPOSE ¶
func (s *ExposeStmtContext) EXPOSE() antlr.TerminalNode
func (*ExposeStmtContext) EnterRule ¶
func (s *ExposeStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*ExposeStmtContext) ExitRule ¶
func (s *ExposeStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*ExposeStmtContext) GetParser ¶
func (s *ExposeStmtContext) GetParser() antlr.Parser
func (*ExposeStmtContext) GetRuleContext ¶
func (s *ExposeStmtContext) GetRuleContext() antlr.RuleContext
func (*ExposeStmtContext) IsExposeStmtContext ¶
func (*ExposeStmtContext) IsExposeStmtContext()
func (*ExposeStmtContext) StmtWords ¶
func (s *ExposeStmtContext) StmtWords() IStmtWordsContext
func (*ExposeStmtContext) ToStringTree ¶
func (s *ExposeStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ExposeStmtContext) WS ¶
func (s *ExposeStmtContext) WS() antlr.TerminalNode
type FromDockerfileStmtContext ¶ added in v0.3.0
type FromDockerfileStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFromDockerfileStmtContext ¶ added in v0.3.0
func NewEmptyFromDockerfileStmtContext() *FromDockerfileStmtContext
func NewFromDockerfileStmtContext ¶ added in v0.3.0
func NewFromDockerfileStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FromDockerfileStmtContext
func (*FromDockerfileStmtContext) EnterRule ¶ added in v0.3.0
func (s *FromDockerfileStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*FromDockerfileStmtContext) ExitRule ¶ added in v0.3.0
func (s *FromDockerfileStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*FromDockerfileStmtContext) FROM_DOCKERFILE ¶ added in v0.3.0
func (s *FromDockerfileStmtContext) FROM_DOCKERFILE() antlr.TerminalNode
func (*FromDockerfileStmtContext) GetParser ¶ added in v0.3.0
func (s *FromDockerfileStmtContext) GetParser() antlr.Parser
func (*FromDockerfileStmtContext) GetRuleContext ¶ added in v0.3.0
func (s *FromDockerfileStmtContext) GetRuleContext() antlr.RuleContext
func (*FromDockerfileStmtContext) IsFromDockerfileStmtContext ¶ added in v0.3.0
func (*FromDockerfileStmtContext) IsFromDockerfileStmtContext()
func (*FromDockerfileStmtContext) StmtWords ¶ added in v0.3.0
func (s *FromDockerfileStmtContext) StmtWords() IStmtWordsContext
func (*FromDockerfileStmtContext) ToStringTree ¶ added in v0.3.0
func (s *FromDockerfileStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*FromDockerfileStmtContext) WS ¶ added in v0.3.0
func (s *FromDockerfileStmtContext) WS() antlr.TerminalNode
type FromStmtContext ¶
type FromStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyFromStmtContext ¶
func NewEmptyFromStmtContext() *FromStmtContext
func NewFromStmtContext ¶
func NewFromStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FromStmtContext
func (*FromStmtContext) EnterRule ¶
func (s *FromStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*FromStmtContext) ExitRule ¶
func (s *FromStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*FromStmtContext) FROM ¶
func (s *FromStmtContext) FROM() antlr.TerminalNode
func (*FromStmtContext) GetParser ¶
func (s *FromStmtContext) GetParser() antlr.Parser
func (*FromStmtContext) GetRuleContext ¶
func (s *FromStmtContext) GetRuleContext() antlr.RuleContext
func (*FromStmtContext) IsFromStmtContext ¶
func (*FromStmtContext) IsFromStmtContext()
func (*FromStmtContext) StmtWords ¶
func (s *FromStmtContext) StmtWords() IStmtWordsContext
func (*FromStmtContext) ToStringTree ¶
func (s *FromStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*FromStmtContext) WS ¶
func (s *FromStmtContext) WS() antlr.TerminalNode
type GenericCommandStmtContext ¶
type GenericCommandStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGenericCommandStmtContext ¶
func NewEmptyGenericCommandStmtContext() *GenericCommandStmtContext
func NewGenericCommandStmtContext ¶
func NewGenericCommandStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GenericCommandStmtContext
func (*GenericCommandStmtContext) CommandName ¶
func (s *GenericCommandStmtContext) CommandName() ICommandNameContext
func (*GenericCommandStmtContext) EnterRule ¶
func (s *GenericCommandStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*GenericCommandStmtContext) ExitRule ¶
func (s *GenericCommandStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*GenericCommandStmtContext) GetParser ¶
func (s *GenericCommandStmtContext) GetParser() antlr.Parser
func (*GenericCommandStmtContext) GetRuleContext ¶
func (s *GenericCommandStmtContext) GetRuleContext() antlr.RuleContext
func (*GenericCommandStmtContext) IsGenericCommandStmtContext ¶
func (*GenericCommandStmtContext) IsGenericCommandStmtContext()
func (*GenericCommandStmtContext) StmtWords ¶
func (s *GenericCommandStmtContext) StmtWords() IStmtWordsContext
func (*GenericCommandStmtContext) ToStringTree ¶
func (s *GenericCommandStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*GenericCommandStmtContext) WS ¶
func (s *GenericCommandStmtContext) WS() antlr.TerminalNode
type GitCloneStmtContext ¶
type GitCloneStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyGitCloneStmtContext ¶
func NewEmptyGitCloneStmtContext() *GitCloneStmtContext
func NewGitCloneStmtContext ¶
func NewGitCloneStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *GitCloneStmtContext
func (*GitCloneStmtContext) EnterRule ¶
func (s *GitCloneStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*GitCloneStmtContext) ExitRule ¶
func (s *GitCloneStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*GitCloneStmtContext) GIT_CLONE ¶
func (s *GitCloneStmtContext) GIT_CLONE() antlr.TerminalNode
func (*GitCloneStmtContext) GetParser ¶
func (s *GitCloneStmtContext) GetParser() antlr.Parser
func (*GitCloneStmtContext) GetRuleContext ¶
func (s *GitCloneStmtContext) GetRuleContext() antlr.RuleContext
func (*GitCloneStmtContext) IsGitCloneStmtContext ¶
func (*GitCloneStmtContext) IsGitCloneStmtContext()
func (*GitCloneStmtContext) StmtWords ¶
func (s *GitCloneStmtContext) StmtWords() IStmtWordsContext
func (*GitCloneStmtContext) ToStringTree ¶
func (s *GitCloneStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*GitCloneStmtContext) WS ¶
func (s *GitCloneStmtContext) WS() antlr.TerminalNode
type HealthcheckStmtContext ¶
type HealthcheckStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHealthcheckStmtContext ¶
func NewEmptyHealthcheckStmtContext() *HealthcheckStmtContext
func NewHealthcheckStmtContext ¶
func NewHealthcheckStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HealthcheckStmtContext
func (*HealthcheckStmtContext) EnterRule ¶
func (s *HealthcheckStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*HealthcheckStmtContext) ExitRule ¶
func (s *HealthcheckStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*HealthcheckStmtContext) GetParser ¶
func (s *HealthcheckStmtContext) GetParser() antlr.Parser
func (*HealthcheckStmtContext) GetRuleContext ¶
func (s *HealthcheckStmtContext) GetRuleContext() antlr.RuleContext
func (*HealthcheckStmtContext) HEALTHCHECK ¶
func (s *HealthcheckStmtContext) HEALTHCHECK() antlr.TerminalNode
func (*HealthcheckStmtContext) IsHealthcheckStmtContext ¶
func (*HealthcheckStmtContext) IsHealthcheckStmtContext()
func (*HealthcheckStmtContext) StmtWords ¶
func (s *HealthcheckStmtContext) StmtWords() IStmtWordsContext
func (*HealthcheckStmtContext) ToStringTree ¶
func (s *HealthcheckStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*HealthcheckStmtContext) WS ¶
func (s *HealthcheckStmtContext) WS() antlr.TerminalNode
type IAddStmtContext ¶
type IAddStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsAddStmtContext differentiates from other interfaces. IsAddStmtContext() }
IAddStmtContext is an interface to support dynamic dispatch.
type IArgStmtContext ¶
type IArgStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsArgStmtContext differentiates from other interfaces. IsArgStmtContext() }
IArgStmtContext is an interface to support dynamic dispatch.
type IBuildStmtContext ¶
type IBuildStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsBuildStmtContext differentiates from other interfaces. IsBuildStmtContext() }
IBuildStmtContext is an interface to support dynamic dispatch.
type ICmdStmtContext ¶
type ICmdStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCmdStmtContext differentiates from other interfaces. IsCmdStmtContext() }
ICmdStmtContext is an interface to support dynamic dispatch.
type ICommandNameContext ¶
type ICommandNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCommandNameContext differentiates from other interfaces. IsCommandNameContext() }
ICommandNameContext is an interface to support dynamic dispatch.
type ICopyStmtContext ¶
type ICopyStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsCopyStmtContext differentiates from other interfaces. IsCopyStmtContext() }
ICopyStmtContext is an interface to support dynamic dispatch.
type IDockerLoadStmtContext ¶
type IDockerLoadStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDockerLoadStmtContext differentiates from other interfaces. IsDockerLoadStmtContext() }
IDockerLoadStmtContext is an interface to support dynamic dispatch.
type IDockerPullStmtContext ¶
type IDockerPullStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDockerPullStmtContext differentiates from other interfaces. IsDockerPullStmtContext() }
IDockerPullStmtContext is an interface to support dynamic dispatch.
type IEarthFileContext ¶
type IEarthFileContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEarthFileContext differentiates from other interfaces. IsEarthFileContext() }
IEarthFileContext is an interface to support dynamic dispatch.
type IEndStmtContext ¶ added in v0.3.2
type IEndStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEndStmtContext differentiates from other interfaces. IsEndStmtContext() }
IEndStmtContext is an interface to support dynamic dispatch.
type IEntrypointStmtContext ¶
type IEntrypointStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEntrypointStmtContext differentiates from other interfaces. IsEntrypointStmtContext() }
IEntrypointStmtContext is an interface to support dynamic dispatch.
type IEnvArgKeyContext ¶
type IEnvArgKeyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEnvArgKeyContext differentiates from other interfaces. IsEnvArgKeyContext() }
IEnvArgKeyContext is an interface to support dynamic dispatch.
type IEnvArgValueContext ¶
type IEnvArgValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEnvArgValueContext differentiates from other interfaces. IsEnvArgValueContext() }
IEnvArgValueContext is an interface to support dynamic dispatch.
type IEnvStmtContext ¶
type IEnvStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsEnvStmtContext differentiates from other interfaces. IsEnvStmtContext() }
IEnvStmtContext is an interface to support dynamic dispatch.
type IExposeStmtContext ¶
type IExposeStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsExposeStmtContext differentiates from other interfaces. IsExposeStmtContext() }
IExposeStmtContext is an interface to support dynamic dispatch.
type IFromDockerfileStmtContext ¶ added in v0.3.0
type IFromDockerfileStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFromDockerfileStmtContext differentiates from other interfaces. IsFromDockerfileStmtContext() }
IFromDockerfileStmtContext is an interface to support dynamic dispatch.
type IFromStmtContext ¶
type IFromStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsFromStmtContext differentiates from other interfaces. IsFromStmtContext() }
IFromStmtContext is an interface to support dynamic dispatch.
type IGenericCommandStmtContext ¶
type IGenericCommandStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsGenericCommandStmtContext differentiates from other interfaces. IsGenericCommandStmtContext() }
IGenericCommandStmtContext is an interface to support dynamic dispatch.
type IGitCloneStmtContext ¶
type IGitCloneStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsGitCloneStmtContext differentiates from other interfaces. IsGitCloneStmtContext() }
IGitCloneStmtContext is an interface to support dynamic dispatch.
type IHealthcheckStmtContext ¶
type IHealthcheckStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHealthcheckStmtContext differentiates from other interfaces. IsHealthcheckStmtContext() }
IHealthcheckStmtContext is an interface to support dynamic dispatch.
type ILabelKeyContext ¶
type ILabelKeyContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLabelKeyContext differentiates from other interfaces. IsLabelKeyContext() }
ILabelKeyContext is an interface to support dynamic dispatch.
type ILabelStmtContext ¶
type ILabelStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLabelStmtContext differentiates from other interfaces. IsLabelStmtContext() }
ILabelStmtContext is an interface to support dynamic dispatch.
type ILabelValueContext ¶
type ILabelValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLabelValueContext differentiates from other interfaces. IsLabelValueContext() }
ILabelValueContext is an interface to support dynamic dispatch.
type IOnbuildStmtContext ¶
type IOnbuildStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsOnbuildStmtContext differentiates from other interfaces. IsOnbuildStmtContext() }
IOnbuildStmtContext is an interface to support dynamic dispatch.
type IRunStmtContext ¶
type IRunStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsRunStmtContext differentiates from other interfaces. IsRunStmtContext() }
IRunStmtContext is an interface to support dynamic dispatch.
type ISaveArtifactContext ¶
type ISaveArtifactContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSaveArtifactContext differentiates from other interfaces. IsSaveArtifactContext() }
ISaveArtifactContext is an interface to support dynamic dispatch.
type ISaveImageContext ¶
type ISaveImageContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSaveImageContext differentiates from other interfaces. IsSaveImageContext() }
ISaveImageContext is an interface to support dynamic dispatch.
type ISaveStmtContext ¶
type ISaveStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsSaveStmtContext differentiates from other interfaces. IsSaveStmtContext() }
ISaveStmtContext is an interface to support dynamic dispatch.
type IShellStmtContext ¶
type IShellStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsShellStmtContext differentiates from other interfaces. IsShellStmtContext() }
IShellStmtContext is an interface to support dynamic dispatch.
type IStmtContext ¶
type IStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStmtContext differentiates from other interfaces. IsStmtContext() }
IStmtContext is an interface to support dynamic dispatch.
type IStmtWordContext ¶
type IStmtWordContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStmtWordContext differentiates from other interfaces. IsStmtWordContext() }
IStmtWordContext is an interface to support dynamic dispatch.
type IStmtWordsContext ¶
type IStmtWordsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStmtWordsContext differentiates from other interfaces. IsStmtWordsContext() }
IStmtWordsContext is an interface to support dynamic dispatch.
type IStmtWordsMaybeJSONContext ¶
type IStmtWordsMaybeJSONContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStmtWordsMaybeJSONContext differentiates from other interfaces. IsStmtWordsMaybeJSONContext() }
IStmtWordsMaybeJSONContext is an interface to support dynamic dispatch.
type IStmtsContext ¶
type IStmtsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStmtsContext differentiates from other interfaces. IsStmtsContext() }
IStmtsContext is an interface to support dynamic dispatch.
type IStopsignalStmtContext ¶
type IStopsignalStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStopsignalStmtContext differentiates from other interfaces. IsStopsignalStmtContext() }
IStopsignalStmtContext is an interface to support dynamic dispatch.
type ITargetContext ¶
type ITargetContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTargetContext differentiates from other interfaces. IsTargetContext() }
ITargetContext is an interface to support dynamic dispatch.
type ITargetHeaderContext ¶
type ITargetHeaderContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTargetHeaderContext differentiates from other interfaces. IsTargetHeaderContext() }
ITargetHeaderContext is an interface to support dynamic dispatch.
type ITargetsContext ¶
type ITargetsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTargetsContext differentiates from other interfaces. IsTargetsContext() }
ITargetsContext is an interface to support dynamic dispatch.
type IUserStmtContext ¶
type IUserStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsUserStmtContext differentiates from other interfaces. IsUserStmtContext() }
IUserStmtContext is an interface to support dynamic dispatch.
type IVolumeStmtContext ¶
type IVolumeStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsVolumeStmtContext differentiates from other interfaces. IsVolumeStmtContext() }
IVolumeStmtContext is an interface to support dynamic dispatch.
type IWithDockerStmtContext ¶ added in v0.3.2
type IWithDockerStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsWithDockerStmtContext differentiates from other interfaces. IsWithDockerStmtContext() }
IWithDockerStmtContext is an interface to support dynamic dispatch.
type IWorkdirStmtContext ¶
type IWorkdirStmtContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsWorkdirStmtContext differentiates from other interfaces. IsWorkdirStmtContext() }
IWorkdirStmtContext is an interface to support dynamic dispatch.
type LabelKeyContext ¶
type LabelKeyContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLabelKeyContext ¶
func NewEmptyLabelKeyContext() *LabelKeyContext
func NewLabelKeyContext ¶
func NewLabelKeyContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LabelKeyContext
func (*LabelKeyContext) Atom ¶
func (s *LabelKeyContext) Atom() antlr.TerminalNode
func (*LabelKeyContext) EnterRule ¶
func (s *LabelKeyContext) EnterRule(listener antlr.ParseTreeListener)
func (*LabelKeyContext) ExitRule ¶
func (s *LabelKeyContext) ExitRule(listener antlr.ParseTreeListener)
func (*LabelKeyContext) GetParser ¶
func (s *LabelKeyContext) GetParser() antlr.Parser
func (*LabelKeyContext) GetRuleContext ¶
func (s *LabelKeyContext) GetRuleContext() antlr.RuleContext
func (*LabelKeyContext) IsLabelKeyContext ¶
func (*LabelKeyContext) IsLabelKeyContext()
func (*LabelKeyContext) ToStringTree ¶
func (s *LabelKeyContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type LabelStmtContext ¶
type LabelStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLabelStmtContext ¶
func NewEmptyLabelStmtContext() *LabelStmtContext
func NewLabelStmtContext ¶
func NewLabelStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LabelStmtContext
func (*LabelStmtContext) AllEQUALS ¶
func (s *LabelStmtContext) AllEQUALS() []antlr.TerminalNode
func (*LabelStmtContext) AllLabelKey ¶
func (s *LabelStmtContext) AllLabelKey() []ILabelKeyContext
func (*LabelStmtContext) AllLabelValue ¶
func (s *LabelStmtContext) AllLabelValue() []ILabelValueContext
func (*LabelStmtContext) AllWS ¶
func (s *LabelStmtContext) AllWS() []antlr.TerminalNode
func (*LabelStmtContext) EQUALS ¶
func (s *LabelStmtContext) EQUALS(i int) antlr.TerminalNode
func (*LabelStmtContext) EnterRule ¶
func (s *LabelStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*LabelStmtContext) ExitRule ¶
func (s *LabelStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*LabelStmtContext) GetParser ¶
func (s *LabelStmtContext) GetParser() antlr.Parser
func (*LabelStmtContext) GetRuleContext ¶
func (s *LabelStmtContext) GetRuleContext() antlr.RuleContext
func (*LabelStmtContext) IsLabelStmtContext ¶
func (*LabelStmtContext) IsLabelStmtContext()
func (*LabelStmtContext) LABEL ¶
func (s *LabelStmtContext) LABEL() antlr.TerminalNode
func (*LabelStmtContext) LabelKey ¶
func (s *LabelStmtContext) LabelKey(i int) ILabelKeyContext
func (*LabelStmtContext) LabelValue ¶
func (s *LabelStmtContext) LabelValue(i int) ILabelValueContext
func (*LabelStmtContext) ToStringTree ¶
func (s *LabelStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*LabelStmtContext) WS ¶
func (s *LabelStmtContext) WS(i int) antlr.TerminalNode
type LabelValueContext ¶
type LabelValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLabelValueContext ¶
func NewEmptyLabelValueContext() *LabelValueContext
func NewLabelValueContext ¶
func NewLabelValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LabelValueContext
func (*LabelValueContext) Atom ¶
func (s *LabelValueContext) Atom() antlr.TerminalNode
func (*LabelValueContext) EnterRule ¶
func (s *LabelValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*LabelValueContext) ExitRule ¶
func (s *LabelValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*LabelValueContext) GetParser ¶
func (s *LabelValueContext) GetParser() antlr.Parser
func (*LabelValueContext) GetRuleContext ¶
func (s *LabelValueContext) GetRuleContext() antlr.RuleContext
func (*LabelValueContext) IsLabelValueContext ¶
func (*LabelValueContext) IsLabelValueContext()
func (*LabelValueContext) ToStringTree ¶
func (s *LabelValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type OnbuildStmtContext ¶
type OnbuildStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyOnbuildStmtContext ¶
func NewEmptyOnbuildStmtContext() *OnbuildStmtContext
func NewOnbuildStmtContext ¶
func NewOnbuildStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *OnbuildStmtContext
func (*OnbuildStmtContext) EnterRule ¶
func (s *OnbuildStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*OnbuildStmtContext) ExitRule ¶
func (s *OnbuildStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*OnbuildStmtContext) GetParser ¶
func (s *OnbuildStmtContext) GetParser() antlr.Parser
func (*OnbuildStmtContext) GetRuleContext ¶
func (s *OnbuildStmtContext) GetRuleContext() antlr.RuleContext
func (*OnbuildStmtContext) IsOnbuildStmtContext ¶
func (*OnbuildStmtContext) IsOnbuildStmtContext()
func (*OnbuildStmtContext) ONBUILD ¶
func (s *OnbuildStmtContext) ONBUILD() antlr.TerminalNode
func (*OnbuildStmtContext) StmtWords ¶
func (s *OnbuildStmtContext) StmtWords() IStmtWordsContext
func (*OnbuildStmtContext) ToStringTree ¶
func (s *OnbuildStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*OnbuildStmtContext) WS ¶
func (s *OnbuildStmtContext) WS() antlr.TerminalNode
type RunStmtContext ¶
type RunStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyRunStmtContext ¶
func NewEmptyRunStmtContext() *RunStmtContext
func NewRunStmtContext ¶
func NewRunStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *RunStmtContext
func (*RunStmtContext) EnterRule ¶
func (s *RunStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*RunStmtContext) ExitRule ¶
func (s *RunStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*RunStmtContext) GetParser ¶
func (s *RunStmtContext) GetParser() antlr.Parser
func (*RunStmtContext) GetRuleContext ¶
func (s *RunStmtContext) GetRuleContext() antlr.RuleContext
func (*RunStmtContext) IsRunStmtContext ¶
func (*RunStmtContext) IsRunStmtContext()
func (*RunStmtContext) RUN ¶
func (s *RunStmtContext) RUN() antlr.TerminalNode
func (*RunStmtContext) StmtWordsMaybeJSON ¶
func (s *RunStmtContext) StmtWordsMaybeJSON() IStmtWordsMaybeJSONContext
func (*RunStmtContext) ToStringTree ¶
func (s *RunStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*RunStmtContext) WS ¶
func (s *RunStmtContext) WS() antlr.TerminalNode
type SaveArtifactContext ¶
type SaveArtifactContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySaveArtifactContext ¶
func NewEmptySaveArtifactContext() *SaveArtifactContext
func NewSaveArtifactContext ¶
func NewSaveArtifactContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SaveArtifactContext
func (*SaveArtifactContext) EnterRule ¶
func (s *SaveArtifactContext) EnterRule(listener antlr.ParseTreeListener)
func (*SaveArtifactContext) ExitRule ¶
func (s *SaveArtifactContext) ExitRule(listener antlr.ParseTreeListener)
func (*SaveArtifactContext) GetParser ¶
func (s *SaveArtifactContext) GetParser() antlr.Parser
func (*SaveArtifactContext) GetRuleContext ¶
func (s *SaveArtifactContext) GetRuleContext() antlr.RuleContext
func (*SaveArtifactContext) IsSaveArtifactContext ¶
func (*SaveArtifactContext) IsSaveArtifactContext()
func (*SaveArtifactContext) SAVE_ARTIFACT ¶
func (s *SaveArtifactContext) SAVE_ARTIFACT() antlr.TerminalNode
func (*SaveArtifactContext) StmtWords ¶
func (s *SaveArtifactContext) StmtWords() IStmtWordsContext
func (*SaveArtifactContext) ToStringTree ¶
func (s *SaveArtifactContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*SaveArtifactContext) WS ¶
func (s *SaveArtifactContext) WS() antlr.TerminalNode
type SaveImageContext ¶
type SaveImageContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySaveImageContext ¶
func NewEmptySaveImageContext() *SaveImageContext
func NewSaveImageContext ¶
func NewSaveImageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SaveImageContext
func (*SaveImageContext) EnterRule ¶
func (s *SaveImageContext) EnterRule(listener antlr.ParseTreeListener)
func (*SaveImageContext) ExitRule ¶
func (s *SaveImageContext) ExitRule(listener antlr.ParseTreeListener)
func (*SaveImageContext) GetParser ¶
func (s *SaveImageContext) GetParser() antlr.Parser
func (*SaveImageContext) GetRuleContext ¶
func (s *SaveImageContext) GetRuleContext() antlr.RuleContext
func (*SaveImageContext) IsSaveImageContext ¶
func (*SaveImageContext) IsSaveImageContext()
func (*SaveImageContext) SAVE_IMAGE ¶
func (s *SaveImageContext) SAVE_IMAGE() antlr.TerminalNode
func (*SaveImageContext) StmtWords ¶
func (s *SaveImageContext) StmtWords() IStmtWordsContext
func (*SaveImageContext) ToStringTree ¶
func (s *SaveImageContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*SaveImageContext) WS ¶
func (s *SaveImageContext) WS() antlr.TerminalNode
type SaveStmtContext ¶
type SaveStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptySaveStmtContext ¶
func NewEmptySaveStmtContext() *SaveStmtContext
func NewSaveStmtContext ¶
func NewSaveStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SaveStmtContext
func (*SaveStmtContext) EnterRule ¶
func (s *SaveStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*SaveStmtContext) ExitRule ¶
func (s *SaveStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*SaveStmtContext) GetParser ¶
func (s *SaveStmtContext) GetParser() antlr.Parser
func (*SaveStmtContext) GetRuleContext ¶
func (s *SaveStmtContext) GetRuleContext() antlr.RuleContext
func (*SaveStmtContext) IsSaveStmtContext ¶
func (*SaveStmtContext) IsSaveStmtContext()
func (*SaveStmtContext) SaveArtifact ¶
func (s *SaveStmtContext) SaveArtifact() ISaveArtifactContext
func (*SaveStmtContext) SaveImage ¶
func (s *SaveStmtContext) SaveImage() ISaveImageContext
func (*SaveStmtContext) ToStringTree ¶
func (s *SaveStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ShellStmtContext ¶
type ShellStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyShellStmtContext ¶
func NewEmptyShellStmtContext() *ShellStmtContext
func NewShellStmtContext ¶
func NewShellStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ShellStmtContext
func (*ShellStmtContext) EnterRule ¶
func (s *ShellStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*ShellStmtContext) ExitRule ¶
func (s *ShellStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*ShellStmtContext) GetParser ¶
func (s *ShellStmtContext) GetParser() antlr.Parser
func (*ShellStmtContext) GetRuleContext ¶
func (s *ShellStmtContext) GetRuleContext() antlr.RuleContext
func (*ShellStmtContext) IsShellStmtContext ¶
func (*ShellStmtContext) IsShellStmtContext()
func (*ShellStmtContext) SHELL ¶
func (s *ShellStmtContext) SHELL() antlr.TerminalNode
func (*ShellStmtContext) StmtWords ¶
func (s *ShellStmtContext) StmtWords() IStmtWordsContext
func (*ShellStmtContext) ToStringTree ¶
func (s *ShellStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*ShellStmtContext) WS ¶
func (s *ShellStmtContext) WS() antlr.TerminalNode
type StmtContext ¶
type StmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStmtContext ¶
func NewEmptyStmtContext() *StmtContext
func NewStmtContext ¶
func NewStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtContext
func (*StmtContext) AddStmt ¶
func (s *StmtContext) AddStmt() IAddStmtContext
func (*StmtContext) ArgStmt ¶
func (s *StmtContext) ArgStmt() IArgStmtContext
func (*StmtContext) BuildStmt ¶
func (s *StmtContext) BuildStmt() IBuildStmtContext
func (*StmtContext) CmdStmt ¶
func (s *StmtContext) CmdStmt() ICmdStmtContext
func (*StmtContext) CopyStmt ¶
func (s *StmtContext) CopyStmt() ICopyStmtContext
func (*StmtContext) DockerLoadStmt ¶
func (s *StmtContext) DockerLoadStmt() IDockerLoadStmtContext
func (*StmtContext) DockerPullStmt ¶
func (s *StmtContext) DockerPullStmt() IDockerPullStmtContext
func (*StmtContext) EndStmt ¶ added in v0.3.2
func (s *StmtContext) EndStmt() IEndStmtContext
func (*StmtContext) EnterRule ¶
func (s *StmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*StmtContext) EntrypointStmt ¶
func (s *StmtContext) EntrypointStmt() IEntrypointStmtContext
func (*StmtContext) EnvStmt ¶
func (s *StmtContext) EnvStmt() IEnvStmtContext
func (*StmtContext) ExitRule ¶
func (s *StmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*StmtContext) ExposeStmt ¶
func (s *StmtContext) ExposeStmt() IExposeStmtContext
func (*StmtContext) FromDockerfileStmt ¶ added in v0.3.0
func (s *StmtContext) FromDockerfileStmt() IFromDockerfileStmtContext
func (*StmtContext) FromStmt ¶
func (s *StmtContext) FromStmt() IFromStmtContext
func (*StmtContext) GenericCommandStmt ¶
func (s *StmtContext) GenericCommandStmt() IGenericCommandStmtContext
func (*StmtContext) GetParser ¶
func (s *StmtContext) GetParser() antlr.Parser
func (*StmtContext) GetRuleContext ¶
func (s *StmtContext) GetRuleContext() antlr.RuleContext
func (*StmtContext) GitCloneStmt ¶
func (s *StmtContext) GitCloneStmt() IGitCloneStmtContext
func (*StmtContext) HealthcheckStmt ¶
func (s *StmtContext) HealthcheckStmt() IHealthcheckStmtContext
func (*StmtContext) IsStmtContext ¶
func (*StmtContext) IsStmtContext()
func (*StmtContext) LabelStmt ¶
func (s *StmtContext) LabelStmt() ILabelStmtContext
func (*StmtContext) OnbuildStmt ¶
func (s *StmtContext) OnbuildStmt() IOnbuildStmtContext
func (*StmtContext) RunStmt ¶
func (s *StmtContext) RunStmt() IRunStmtContext
func (*StmtContext) SaveStmt ¶
func (s *StmtContext) SaveStmt() ISaveStmtContext
func (*StmtContext) ShellStmt ¶
func (s *StmtContext) ShellStmt() IShellStmtContext
func (*StmtContext) StopsignalStmt ¶
func (s *StmtContext) StopsignalStmt() IStopsignalStmtContext
func (*StmtContext) ToStringTree ¶
func (s *StmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*StmtContext) UserStmt ¶
func (s *StmtContext) UserStmt() IUserStmtContext
func (*StmtContext) VolumeStmt ¶
func (s *StmtContext) VolumeStmt() IVolumeStmtContext
func (*StmtContext) WithDockerStmt ¶ added in v0.3.2
func (s *StmtContext) WithDockerStmt() IWithDockerStmtContext
func (*StmtContext) WorkdirStmt ¶
func (s *StmtContext) WorkdirStmt() IWorkdirStmtContext
type StmtWordContext ¶
type StmtWordContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStmtWordContext ¶
func NewEmptyStmtWordContext() *StmtWordContext
func NewStmtWordContext ¶
func NewStmtWordContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtWordContext
func (*StmtWordContext) Atom ¶
func (s *StmtWordContext) Atom() antlr.TerminalNode
func (*StmtWordContext) EnterRule ¶
func (s *StmtWordContext) EnterRule(listener antlr.ParseTreeListener)
func (*StmtWordContext) ExitRule ¶
func (s *StmtWordContext) ExitRule(listener antlr.ParseTreeListener)
func (*StmtWordContext) GetParser ¶
func (s *StmtWordContext) GetParser() antlr.Parser
func (*StmtWordContext) GetRuleContext ¶
func (s *StmtWordContext) GetRuleContext() antlr.RuleContext
func (*StmtWordContext) IsStmtWordContext ¶
func (*StmtWordContext) IsStmtWordContext()
func (*StmtWordContext) ToStringTree ¶
func (s *StmtWordContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StmtWordsContext ¶
type StmtWordsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStmtWordsContext ¶
func NewEmptyStmtWordsContext() *StmtWordsContext
func NewStmtWordsContext ¶
func NewStmtWordsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtWordsContext
func (*StmtWordsContext) AllStmtWord ¶
func (s *StmtWordsContext) AllStmtWord() []IStmtWordContext
func (*StmtWordsContext) AllWS ¶
func (s *StmtWordsContext) AllWS() []antlr.TerminalNode
func (*StmtWordsContext) EnterRule ¶
func (s *StmtWordsContext) EnterRule(listener antlr.ParseTreeListener)
func (*StmtWordsContext) ExitRule ¶
func (s *StmtWordsContext) ExitRule(listener antlr.ParseTreeListener)
func (*StmtWordsContext) GetParser ¶
func (s *StmtWordsContext) GetParser() antlr.Parser
func (*StmtWordsContext) GetRuleContext ¶
func (s *StmtWordsContext) GetRuleContext() antlr.RuleContext
func (*StmtWordsContext) IsStmtWordsContext ¶
func (*StmtWordsContext) IsStmtWordsContext()
func (*StmtWordsContext) StmtWord ¶
func (s *StmtWordsContext) StmtWord(i int) IStmtWordContext
func (*StmtWordsContext) ToStringTree ¶
func (s *StmtWordsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*StmtWordsContext) WS ¶
func (s *StmtWordsContext) WS(i int) antlr.TerminalNode
type StmtWordsMaybeJSONContext ¶
type StmtWordsMaybeJSONContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStmtWordsMaybeJSONContext ¶
func NewEmptyStmtWordsMaybeJSONContext() *StmtWordsMaybeJSONContext
func NewStmtWordsMaybeJSONContext ¶
func NewStmtWordsMaybeJSONContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtWordsMaybeJSONContext
func (*StmtWordsMaybeJSONContext) EnterRule ¶
func (s *StmtWordsMaybeJSONContext) EnterRule(listener antlr.ParseTreeListener)
func (*StmtWordsMaybeJSONContext) ExitRule ¶
func (s *StmtWordsMaybeJSONContext) ExitRule(listener antlr.ParseTreeListener)
func (*StmtWordsMaybeJSONContext) GetParser ¶
func (s *StmtWordsMaybeJSONContext) GetParser() antlr.Parser
func (*StmtWordsMaybeJSONContext) GetRuleContext ¶
func (s *StmtWordsMaybeJSONContext) GetRuleContext() antlr.RuleContext
func (*StmtWordsMaybeJSONContext) IsStmtWordsMaybeJSONContext ¶
func (*StmtWordsMaybeJSONContext) IsStmtWordsMaybeJSONContext()
func (*StmtWordsMaybeJSONContext) StmtWords ¶
func (s *StmtWordsMaybeJSONContext) StmtWords() IStmtWordsContext
func (*StmtWordsMaybeJSONContext) ToStringTree ¶
func (s *StmtWordsMaybeJSONContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StmtsContext ¶
type StmtsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStmtsContext ¶
func NewEmptyStmtsContext() *StmtsContext
func NewStmtsContext ¶
func NewStmtsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StmtsContext
func (*StmtsContext) AllNL ¶
func (s *StmtsContext) AllNL() []antlr.TerminalNode
func (*StmtsContext) AllStmt ¶
func (s *StmtsContext) AllStmt() []IStmtContext
func (*StmtsContext) AllWS ¶
func (s *StmtsContext) AllWS() []antlr.TerminalNode
func (*StmtsContext) EnterRule ¶
func (s *StmtsContext) EnterRule(listener antlr.ParseTreeListener)
func (*StmtsContext) ExitRule ¶
func (s *StmtsContext) ExitRule(listener antlr.ParseTreeListener)
func (*StmtsContext) GetParser ¶
func (s *StmtsContext) GetParser() antlr.Parser
func (*StmtsContext) GetRuleContext ¶
func (s *StmtsContext) GetRuleContext() antlr.RuleContext
func (*StmtsContext) IsStmtsContext ¶
func (*StmtsContext) IsStmtsContext()
func (*StmtsContext) NL ¶
func (s *StmtsContext) NL(i int) antlr.TerminalNode
func (*StmtsContext) Stmt ¶
func (s *StmtsContext) Stmt(i int) IStmtContext
func (*StmtsContext) ToStringTree ¶
func (s *StmtsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*StmtsContext) WS ¶
func (s *StmtsContext) WS(i int) antlr.TerminalNode
type StopsignalStmtContext ¶
type StopsignalStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStopsignalStmtContext ¶
func NewEmptyStopsignalStmtContext() *StopsignalStmtContext
func NewStopsignalStmtContext ¶
func NewStopsignalStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StopsignalStmtContext
func (*StopsignalStmtContext) EnterRule ¶
func (s *StopsignalStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*StopsignalStmtContext) ExitRule ¶
func (s *StopsignalStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*StopsignalStmtContext) GetParser ¶
func (s *StopsignalStmtContext) GetParser() antlr.Parser
func (*StopsignalStmtContext) GetRuleContext ¶
func (s *StopsignalStmtContext) GetRuleContext() antlr.RuleContext
func (*StopsignalStmtContext) IsStopsignalStmtContext ¶
func (*StopsignalStmtContext) IsStopsignalStmtContext()
func (*StopsignalStmtContext) STOPSIGNAL ¶
func (s *StopsignalStmtContext) STOPSIGNAL() antlr.TerminalNode
func (*StopsignalStmtContext) StmtWords ¶
func (s *StopsignalStmtContext) StmtWords() IStmtWordsContext
func (*StopsignalStmtContext) ToStringTree ¶
func (s *StopsignalStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*StopsignalStmtContext) WS ¶
func (s *StopsignalStmtContext) WS() antlr.TerminalNode
type TargetContext ¶
type TargetContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTargetContext ¶
func NewEmptyTargetContext() *TargetContext
func NewTargetContext ¶
func NewTargetContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TargetContext
func (*TargetContext) AllNL ¶
func (s *TargetContext) AllNL() []antlr.TerminalNode
func (*TargetContext) EnterRule ¶
func (s *TargetContext) EnterRule(listener antlr.ParseTreeListener)
func (*TargetContext) ExitRule ¶
func (s *TargetContext) ExitRule(listener antlr.ParseTreeListener)
func (*TargetContext) GetParser ¶
func (s *TargetContext) GetParser() antlr.Parser
func (*TargetContext) GetRuleContext ¶
func (s *TargetContext) GetRuleContext() antlr.RuleContext
func (*TargetContext) INDENT ¶
func (s *TargetContext) INDENT() antlr.TerminalNode
func (*TargetContext) IsTargetContext ¶
func (*TargetContext) IsTargetContext()
func (*TargetContext) NL ¶
func (s *TargetContext) NL(i int) antlr.TerminalNode
func (*TargetContext) Stmts ¶
func (s *TargetContext) Stmts() IStmtsContext
func (*TargetContext) TargetHeader ¶
func (s *TargetContext) TargetHeader() ITargetHeaderContext
func (*TargetContext) ToStringTree ¶
func (s *TargetContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TargetContext) WS ¶
func (s *TargetContext) WS() antlr.TerminalNode
type TargetHeaderContext ¶
type TargetHeaderContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTargetHeaderContext ¶
func NewEmptyTargetHeaderContext() *TargetHeaderContext
func NewTargetHeaderContext ¶
func NewTargetHeaderContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TargetHeaderContext
func (*TargetHeaderContext) EnterRule ¶
func (s *TargetHeaderContext) EnterRule(listener antlr.ParseTreeListener)
func (*TargetHeaderContext) ExitRule ¶
func (s *TargetHeaderContext) ExitRule(listener antlr.ParseTreeListener)
func (*TargetHeaderContext) GetParser ¶
func (s *TargetHeaderContext) GetParser() antlr.Parser
func (*TargetHeaderContext) GetRuleContext ¶
func (s *TargetHeaderContext) GetRuleContext() antlr.RuleContext
func (*TargetHeaderContext) IsTargetHeaderContext ¶
func (*TargetHeaderContext) IsTargetHeaderContext()
func (*TargetHeaderContext) Target ¶
func (s *TargetHeaderContext) Target() antlr.TerminalNode
func (*TargetHeaderContext) ToStringTree ¶
func (s *TargetHeaderContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TargetsContext ¶
type TargetsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTargetsContext ¶
func NewEmptyTargetsContext() *TargetsContext
func NewTargetsContext ¶
func NewTargetsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TargetsContext
func (*TargetsContext) AllDEDENT ¶
func (s *TargetsContext) AllDEDENT() []antlr.TerminalNode
func (*TargetsContext) AllNL ¶
func (s *TargetsContext) AllNL() []antlr.TerminalNode
func (*TargetsContext) AllTarget ¶
func (s *TargetsContext) AllTarget() []ITargetContext
func (*TargetsContext) AllWS ¶
func (s *TargetsContext) AllWS() []antlr.TerminalNode
func (*TargetsContext) DEDENT ¶
func (s *TargetsContext) DEDENT(i int) antlr.TerminalNode
func (*TargetsContext) EnterRule ¶
func (s *TargetsContext) EnterRule(listener antlr.ParseTreeListener)
func (*TargetsContext) ExitRule ¶
func (s *TargetsContext) ExitRule(listener antlr.ParseTreeListener)
func (*TargetsContext) GetParser ¶
func (s *TargetsContext) GetParser() antlr.Parser
func (*TargetsContext) GetRuleContext ¶
func (s *TargetsContext) GetRuleContext() antlr.RuleContext
func (*TargetsContext) IsTargetsContext ¶
func (*TargetsContext) IsTargetsContext()
func (*TargetsContext) NL ¶
func (s *TargetsContext) NL(i int) antlr.TerminalNode
func (*TargetsContext) Target ¶
func (s *TargetsContext) Target(i int) ITargetContext
func (*TargetsContext) ToStringTree ¶
func (s *TargetsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TargetsContext) WS ¶
func (s *TargetsContext) WS(i int) antlr.TerminalNode
type UserStmtContext ¶
type UserStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyUserStmtContext ¶
func NewEmptyUserStmtContext() *UserStmtContext
func NewUserStmtContext ¶
func NewUserStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *UserStmtContext
func (*UserStmtContext) EnterRule ¶
func (s *UserStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*UserStmtContext) ExitRule ¶
func (s *UserStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*UserStmtContext) GetParser ¶
func (s *UserStmtContext) GetParser() antlr.Parser
func (*UserStmtContext) GetRuleContext ¶
func (s *UserStmtContext) GetRuleContext() antlr.RuleContext
func (*UserStmtContext) IsUserStmtContext ¶
func (*UserStmtContext) IsUserStmtContext()
func (*UserStmtContext) StmtWords ¶
func (s *UserStmtContext) StmtWords() IStmtWordsContext
func (*UserStmtContext) ToStringTree ¶
func (s *UserStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*UserStmtContext) USER ¶
func (s *UserStmtContext) USER() antlr.TerminalNode
func (*UserStmtContext) WS ¶
func (s *UserStmtContext) WS() antlr.TerminalNode
type VolumeStmtContext ¶
type VolumeStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyVolumeStmtContext ¶
func NewEmptyVolumeStmtContext() *VolumeStmtContext
func NewVolumeStmtContext ¶
func NewVolumeStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *VolumeStmtContext
func (*VolumeStmtContext) EnterRule ¶
func (s *VolumeStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*VolumeStmtContext) ExitRule ¶
func (s *VolumeStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*VolumeStmtContext) GetParser ¶
func (s *VolumeStmtContext) GetParser() antlr.Parser
func (*VolumeStmtContext) GetRuleContext ¶
func (s *VolumeStmtContext) GetRuleContext() antlr.RuleContext
func (*VolumeStmtContext) IsVolumeStmtContext ¶
func (*VolumeStmtContext) IsVolumeStmtContext()
func (*VolumeStmtContext) StmtWordsMaybeJSON ¶
func (s *VolumeStmtContext) StmtWordsMaybeJSON() IStmtWordsMaybeJSONContext
func (*VolumeStmtContext) ToStringTree ¶
func (s *VolumeStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*VolumeStmtContext) VOLUME ¶
func (s *VolumeStmtContext) VOLUME() antlr.TerminalNode
func (*VolumeStmtContext) WS ¶
func (s *VolumeStmtContext) WS() antlr.TerminalNode
type WithDockerStmtContext ¶ added in v0.3.2
type WithDockerStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyWithDockerStmtContext ¶ added in v0.3.2
func NewEmptyWithDockerStmtContext() *WithDockerStmtContext
func NewWithDockerStmtContext ¶ added in v0.3.2
func NewWithDockerStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *WithDockerStmtContext
func (*WithDockerStmtContext) EnterRule ¶ added in v0.3.2
func (s *WithDockerStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*WithDockerStmtContext) ExitRule ¶ added in v0.3.2
func (s *WithDockerStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*WithDockerStmtContext) GetParser ¶ added in v0.3.2
func (s *WithDockerStmtContext) GetParser() antlr.Parser
func (*WithDockerStmtContext) GetRuleContext ¶ added in v0.3.2
func (s *WithDockerStmtContext) GetRuleContext() antlr.RuleContext
func (*WithDockerStmtContext) IsWithDockerStmtContext ¶ added in v0.3.2
func (*WithDockerStmtContext) IsWithDockerStmtContext()
func (*WithDockerStmtContext) StmtWords ¶ added in v0.3.2
func (s *WithDockerStmtContext) StmtWords() IStmtWordsContext
func (*WithDockerStmtContext) ToStringTree ¶ added in v0.3.2
func (s *WithDockerStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*WithDockerStmtContext) WITH_DOCKER ¶ added in v0.3.2
func (s *WithDockerStmtContext) WITH_DOCKER() antlr.TerminalNode
func (*WithDockerStmtContext) WS ¶ added in v0.3.2
func (s *WithDockerStmtContext) WS() antlr.TerminalNode
type WorkdirStmtContext ¶
type WorkdirStmtContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyWorkdirStmtContext ¶
func NewEmptyWorkdirStmtContext() *WorkdirStmtContext
func NewWorkdirStmtContext ¶
func NewWorkdirStmtContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *WorkdirStmtContext
func (*WorkdirStmtContext) EnterRule ¶
func (s *WorkdirStmtContext) EnterRule(listener antlr.ParseTreeListener)
func (*WorkdirStmtContext) ExitRule ¶
func (s *WorkdirStmtContext) ExitRule(listener antlr.ParseTreeListener)
func (*WorkdirStmtContext) GetParser ¶
func (s *WorkdirStmtContext) GetParser() antlr.Parser
func (*WorkdirStmtContext) GetRuleContext ¶
func (s *WorkdirStmtContext) GetRuleContext() antlr.RuleContext
func (*WorkdirStmtContext) IsWorkdirStmtContext ¶
func (*WorkdirStmtContext) IsWorkdirStmtContext()
func (*WorkdirStmtContext) StmtWords ¶
func (s *WorkdirStmtContext) StmtWords() IStmtWordsContext
func (*WorkdirStmtContext) ToStringTree ¶
func (s *WorkdirStmtContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*WorkdirStmtContext) WORKDIR ¶
func (s *WorkdirStmtContext) WORKDIR() antlr.TerminalNode
func (*WorkdirStmtContext) WS ¶
func (s *WorkdirStmtContext) WS() antlr.TerminalNode