parser

package
v0.0.0-...-2033115 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2021 License: CC-BY-4.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FGLexerT__0         = 1
	FGLexerT__1         = 2
	FGLexerT__2         = 3
	FGLexerT__3         = 4
	FGLexerT__4         = 5
	FGLexerT__5         = 6
	FGLexerT__6         = 7
	FGLexerT__7         = 8
	FGLexerT__8         = 9
	FGLexerT__9         = 10
	FGLexerFUNC         = 11
	FGLexerINTERFACE    = 12
	FGLexerMAIN         = 13
	FGLexerPACKAGE      = 14
	FGLexerRETURN       = 15
	FGLexerSTRUCT       = 16
	FGLexerTYPE         = 17
	FGLexerIMPORT       = 18
	FGLexerFMT          = 19
	FGLexerPRINTF       = 20
	FGLexerSPRINTF      = 21
	FGLexerNAME         = 22
	FGLexerWHITESPACE   = 23
	FGLexerCOMMENT      = 24
	FGLexerLINE_COMMENT = 25
	FGLexerSTRING       = 26
)

FGLexer tokens.

View Source
const (
	FGParserEOF          = antlr.TokenEOF
	FGParserT__0         = 1
	FGParserT__1         = 2
	FGParserT__2         = 3
	FGParserT__3         = 4
	FGParserT__4         = 5
	FGParserT__5         = 6
	FGParserT__6         = 7
	FGParserT__7         = 8
	FGParserT__8         = 9
	FGParserT__9         = 10
	FGParserFUNC         = 11
	FGParserINTERFACE    = 12
	FGParserMAIN         = 13
	FGParserPACKAGE      = 14
	FGParserRETURN       = 15
	FGParserSTRUCT       = 16
	FGParserTYPE         = 17
	FGParserIMPORT       = 18
	FGParserFMT          = 19
	FGParserPRINTF       = 20
	FGParserSPRINTF      = 21
	FGParserNAME         = 22
	FGParserWHITESPACE   = 23
	FGParserCOMMENT      = 24
	FGParserLINE_COMMENT = 25
	FGParserSTRING       = 26
)

FGParser tokens.

View Source
const (
	FGParserRULE_program    = 0
	FGParserRULE_decls      = 1
	FGParserRULE_typeDecl   = 2
	FGParserRULE_methDecl   = 3
	FGParserRULE_typeLit    = 4
	FGParserRULE_fieldDecls = 5
	FGParserRULE_fieldDecl  = 6
	FGParserRULE_specs      = 7
	FGParserRULE_spec       = 8
	FGParserRULE_sig        = 9
	FGParserRULE_params     = 10
	FGParserRULE_paramDecl  = 11
	FGParserRULE_expr       = 12
	FGParserRULE_exprs      = 13
)

FGParser rules.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssertContext

type AssertContext struct {
	*ExprContext
}

func NewAssertContext

func NewAssertContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *AssertContext

func (*AssertContext) EnterRule

func (s *AssertContext) EnterRule(listener antlr.ParseTreeListener)

func (*AssertContext) ExitRule

func (s *AssertContext) ExitRule(listener antlr.ParseTreeListener)

func (*AssertContext) Expr

func (s *AssertContext) Expr() IExprContext

func (*AssertContext) GetRuleContext

func (s *AssertContext) GetRuleContext() antlr.RuleContext

func (*AssertContext) NAME

func (s *AssertContext) NAME() antlr.TerminalNode

type BaseFGListener

type BaseFGListener struct{}

BaseFGListener is a complete listener for a parse tree produced by FGParser.

func (*BaseFGListener) EnterAssert

func (s *BaseFGListener) EnterAssert(ctx *AssertContext)

EnterAssert is called when production Assert is entered.

func (*BaseFGListener) EnterCall

func (s *BaseFGListener) EnterCall(ctx *CallContext)

EnterCall is called when production Call is entered.

func (*BaseFGListener) EnterDecls

func (s *BaseFGListener) EnterDecls(ctx *DeclsContext)

EnterDecls is called when production decls is entered.

func (*BaseFGListener) EnterEveryRule

func (s *BaseFGListener) EnterEveryRule(ctx antlr.ParserRuleContext)

EnterEveryRule is called when any rule is entered.

func (*BaseFGListener) EnterExprs

func (s *BaseFGListener) EnterExprs(ctx *ExprsContext)

EnterExprs is called when production exprs is entered.

func (*BaseFGListener) EnterFieldDecl

func (s *BaseFGListener) EnterFieldDecl(ctx *FieldDeclContext)

EnterFieldDecl is called when production fieldDecl is entered.

func (*BaseFGListener) EnterFieldDecls

func (s *BaseFGListener) EnterFieldDecls(ctx *FieldDeclsContext)

EnterFieldDecls is called when production fieldDecls is entered.

func (*BaseFGListener) EnterInterfaceSpec

func (s *BaseFGListener) EnterInterfaceSpec(ctx *InterfaceSpecContext)

EnterInterfaceSpec is called when production InterfaceSpec is entered.

func (*BaseFGListener) EnterInterfaceTypeLit

func (s *BaseFGListener) EnterInterfaceTypeLit(ctx *InterfaceTypeLitContext)

EnterInterfaceTypeLit is called when production InterfaceTypeLit is entered.

func (*BaseFGListener) EnterMethDecl

func (s *BaseFGListener) EnterMethDecl(ctx *MethDeclContext)

EnterMethDecl is called when production methDecl is entered.

func (*BaseFGListener) EnterParamDecl

func (s *BaseFGListener) EnterParamDecl(ctx *ParamDeclContext)

EnterParamDecl is called when production paramDecl is entered.

func (*BaseFGListener) EnterParams

func (s *BaseFGListener) EnterParams(ctx *ParamsContext)

EnterParams is called when production params is entered.

func (*BaseFGListener) EnterProgram

func (s *BaseFGListener) EnterProgram(ctx *ProgramContext)

EnterProgram is called when production program is entered.

func (*BaseFGListener) EnterSelect

func (s *BaseFGListener) EnterSelect(ctx *SelectContext)

EnterSelect is called when production Select is entered.

func (*BaseFGListener) EnterSig

func (s *BaseFGListener) EnterSig(ctx *SigContext)

EnterSig is called when production sig is entered.

func (*BaseFGListener) EnterSigSpec

func (s *BaseFGListener) EnterSigSpec(ctx *SigSpecContext)

EnterSigSpec is called when production SigSpec is entered.

func (*BaseFGListener) EnterSpecs

func (s *BaseFGListener) EnterSpecs(ctx *SpecsContext)

EnterSpecs is called when production specs is entered.

func (*BaseFGListener) EnterSprintf

func (s *BaseFGListener) EnterSprintf(ctx *SprintfContext)

EnterSprintf is called when production Sprintf is entered.

func (*BaseFGListener) EnterStructLit

func (s *BaseFGListener) EnterStructLit(ctx *StructLitContext)

EnterStructLit is called when production StructLit is entered.

func (*BaseFGListener) EnterStructTypeLit

func (s *BaseFGListener) EnterStructTypeLit(ctx *StructTypeLitContext)

EnterStructTypeLit is called when production StructTypeLit is entered.

func (*BaseFGListener) EnterTypeDecl

func (s *BaseFGListener) EnterTypeDecl(ctx *TypeDeclContext)

EnterTypeDecl is called when production typeDecl is entered.

func (*BaseFGListener) EnterVariable

func (s *BaseFGListener) EnterVariable(ctx *VariableContext)

EnterVariable is called when production Variable is entered.

func (*BaseFGListener) ExitAssert

func (s *BaseFGListener) ExitAssert(ctx *AssertContext)

ExitAssert is called when production Assert is exited.

func (*BaseFGListener) ExitCall

func (s *BaseFGListener) ExitCall(ctx *CallContext)

ExitCall is called when production Call is exited.

func (*BaseFGListener) ExitDecls

func (s *BaseFGListener) ExitDecls(ctx *DeclsContext)

ExitDecls is called when production decls is exited.

func (*BaseFGListener) ExitEveryRule

func (s *BaseFGListener) ExitEveryRule(ctx antlr.ParserRuleContext)

ExitEveryRule is called when any rule is exited.

func (*BaseFGListener) ExitExprs

func (s *BaseFGListener) ExitExprs(ctx *ExprsContext)

ExitExprs is called when production exprs is exited.

func (*BaseFGListener) ExitFieldDecl

func (s *BaseFGListener) ExitFieldDecl(ctx *FieldDeclContext)

ExitFieldDecl is called when production fieldDecl is exited.

func (*BaseFGListener) ExitFieldDecls

func (s *BaseFGListener) ExitFieldDecls(ctx *FieldDeclsContext)

ExitFieldDecls is called when production fieldDecls is exited.

func (*BaseFGListener) ExitInterfaceSpec

func (s *BaseFGListener) ExitInterfaceSpec(ctx *InterfaceSpecContext)

ExitInterfaceSpec is called when production InterfaceSpec is exited.

func (*BaseFGListener) ExitInterfaceTypeLit

func (s *BaseFGListener) ExitInterfaceTypeLit(ctx *InterfaceTypeLitContext)

ExitInterfaceTypeLit is called when production InterfaceTypeLit is exited.

func (*BaseFGListener) ExitMethDecl

func (s *BaseFGListener) ExitMethDecl(ctx *MethDeclContext)

ExitMethDecl is called when production methDecl is exited.

func (*BaseFGListener) ExitParamDecl

func (s *BaseFGListener) ExitParamDecl(ctx *ParamDeclContext)

ExitParamDecl is called when production paramDecl is exited.

func (*BaseFGListener) ExitParams

func (s *BaseFGListener) ExitParams(ctx *ParamsContext)

ExitParams is called when production params is exited.

func (*BaseFGListener) ExitProgram

func (s *BaseFGListener) ExitProgram(ctx *ProgramContext)

ExitProgram is called when production program is exited.

func (*BaseFGListener) ExitSelect

func (s *BaseFGListener) ExitSelect(ctx *SelectContext)

ExitSelect is called when production Select is exited.

func (*BaseFGListener) ExitSig

func (s *BaseFGListener) ExitSig(ctx *SigContext)

ExitSig is called when production sig is exited.

func (*BaseFGListener) ExitSigSpec

func (s *BaseFGListener) ExitSigSpec(ctx *SigSpecContext)

ExitSigSpec is called when production SigSpec is exited.

func (*BaseFGListener) ExitSpecs

func (s *BaseFGListener) ExitSpecs(ctx *SpecsContext)

ExitSpecs is called when production specs is exited.

func (*BaseFGListener) ExitSprintf

func (s *BaseFGListener) ExitSprintf(ctx *SprintfContext)

ExitSprintf is called when production Sprintf is exited.

func (*BaseFGListener) ExitStructLit

func (s *BaseFGListener) ExitStructLit(ctx *StructLitContext)

ExitStructLit is called when production StructLit is exited.

func (*BaseFGListener) ExitStructTypeLit

func (s *BaseFGListener) ExitStructTypeLit(ctx *StructTypeLitContext)

ExitStructTypeLit is called when production StructTypeLit is exited.

func (*BaseFGListener) ExitTypeDecl

func (s *BaseFGListener) ExitTypeDecl(ctx *TypeDeclContext)

ExitTypeDecl is called when production typeDecl is exited.

func (*BaseFGListener) ExitVariable

func (s *BaseFGListener) ExitVariable(ctx *VariableContext)

ExitVariable is called when production Variable is exited.

func (*BaseFGListener) VisitErrorNode

func (s *BaseFGListener) VisitErrorNode(node antlr.ErrorNode)

VisitErrorNode is called when an error node is visited.

func (*BaseFGListener) VisitTerminal

func (s *BaseFGListener) VisitTerminal(node antlr.TerminalNode)

VisitTerminal is called when a terminal node is visited.

type CallContext

type CallContext struct {
	*ExprContext
	// contains filtered or unexported fields
}

func NewCallContext

func NewCallContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *CallContext

func (*CallContext) EnterRule

func (s *CallContext) EnterRule(listener antlr.ParseTreeListener)

func (*CallContext) ExitRule

func (s *CallContext) ExitRule(listener antlr.ParseTreeListener)

func (*CallContext) Expr

func (s *CallContext) Expr() IExprContext

func (*CallContext) Exprs

func (s *CallContext) Exprs() IExprsContext

func (*CallContext) GetArgs

func (s *CallContext) GetArgs() IExprsContext

func (*CallContext) GetRecv

func (s *CallContext) GetRecv() IExprContext

func (*CallContext) GetRuleContext

func (s *CallContext) GetRuleContext() antlr.RuleContext

func (*CallContext) NAME

func (s *CallContext) NAME() antlr.TerminalNode

func (*CallContext) SetArgs

func (s *CallContext) SetArgs(v IExprsContext)

func (*CallContext) SetRecv

func (s *CallContext) SetRecv(v IExprContext)

type DeclsContext

type DeclsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewDeclsContext

func NewDeclsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DeclsContext

func NewEmptyDeclsContext

func NewEmptyDeclsContext() *DeclsContext

func (*DeclsContext) AllMethDecl

func (s *DeclsContext) AllMethDecl() []IMethDeclContext

func (*DeclsContext) AllTypeDecl

func (s *DeclsContext) AllTypeDecl() []ITypeDeclContext

func (*DeclsContext) EnterRule

func (s *DeclsContext) EnterRule(listener antlr.ParseTreeListener)

func (*DeclsContext) ExitRule

func (s *DeclsContext) ExitRule(listener antlr.ParseTreeListener)

func (*DeclsContext) GetParser

func (s *DeclsContext) GetParser() antlr.Parser

func (*DeclsContext) GetRuleContext

func (s *DeclsContext) GetRuleContext() antlr.RuleContext

func (*DeclsContext) IsDeclsContext

func (*DeclsContext) IsDeclsContext()

func (*DeclsContext) MethDecl

func (s *DeclsContext) MethDecl(i int) IMethDeclContext

func (*DeclsContext) ToStringTree

func (s *DeclsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*DeclsContext) TypeDecl

func (s *DeclsContext) TypeDecl(i int) ITypeDeclContext

type ExprContext

type ExprContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExprContext

func NewEmptyExprContext() *ExprContext

func NewExprContext

func NewExprContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprContext

func (*ExprContext) CopyFrom

func (s *ExprContext) CopyFrom(ctx *ExprContext)

func (*ExprContext) GetParser

func (s *ExprContext) GetParser() antlr.Parser

func (*ExprContext) GetRuleContext

func (s *ExprContext) GetRuleContext() antlr.RuleContext

func (*ExprContext) IsExprContext

func (*ExprContext) IsExprContext()

func (*ExprContext) ToStringTree

func (s *ExprContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ExprsContext

type ExprsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyExprsContext

func NewEmptyExprsContext() *ExprsContext

func NewExprsContext

func NewExprsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ExprsContext

func (*ExprsContext) AllExpr

func (s *ExprsContext) AllExpr() []IExprContext

func (*ExprsContext) EnterRule

func (s *ExprsContext) EnterRule(listener antlr.ParseTreeListener)

func (*ExprsContext) ExitRule

func (s *ExprsContext) ExitRule(listener antlr.ParseTreeListener)

func (*ExprsContext) Expr

func (s *ExprsContext) Expr(i int) IExprContext

func (*ExprsContext) GetParser

func (s *ExprsContext) GetParser() antlr.Parser

func (*ExprsContext) GetRuleContext

func (s *ExprsContext) GetRuleContext() antlr.RuleContext

func (*ExprsContext) IsExprsContext

func (*ExprsContext) IsExprsContext()

func (*ExprsContext) ToStringTree

func (s *ExprsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FGLexer

type FGLexer struct {
	*antlr.BaseLexer
	// contains filtered or unexported fields
}

func NewFGLexer

func NewFGLexer(input antlr.CharStream) *FGLexer

type FGListener

type FGListener interface {
	antlr.ParseTreeListener

	// EnterProgram is called when entering the program production.
	EnterProgram(c *ProgramContext)

	// EnterDecls is called when entering the decls production.
	EnterDecls(c *DeclsContext)

	// EnterTypeDecl is called when entering the typeDecl production.
	EnterTypeDecl(c *TypeDeclContext)

	// EnterMethDecl is called when entering the methDecl production.
	EnterMethDecl(c *MethDeclContext)

	// EnterStructTypeLit is called when entering the StructTypeLit production.
	EnterStructTypeLit(c *StructTypeLitContext)

	// EnterInterfaceTypeLit is called when entering the InterfaceTypeLit production.
	EnterInterfaceTypeLit(c *InterfaceTypeLitContext)

	// EnterFieldDecls is called when entering the fieldDecls production.
	EnterFieldDecls(c *FieldDeclsContext)

	// EnterFieldDecl is called when entering the fieldDecl production.
	EnterFieldDecl(c *FieldDeclContext)

	// EnterSpecs is called when entering the specs production.
	EnterSpecs(c *SpecsContext)

	// EnterSigSpec is called when entering the SigSpec production.
	EnterSigSpec(c *SigSpecContext)

	// EnterInterfaceSpec is called when entering the InterfaceSpec production.
	EnterInterfaceSpec(c *InterfaceSpecContext)

	// EnterSig is called when entering the sig production.
	EnterSig(c *SigContext)

	// EnterParams is called when entering the params production.
	EnterParams(c *ParamsContext)

	// EnterParamDecl is called when entering the paramDecl production.
	EnterParamDecl(c *ParamDeclContext)

	// EnterCall is called when entering the Call production.
	EnterCall(c *CallContext)

	// EnterVariable is called when entering the Variable production.
	EnterVariable(c *VariableContext)

	// EnterAssert is called when entering the Assert production.
	EnterAssert(c *AssertContext)

	// EnterSprintf is called when entering the Sprintf production.
	EnterSprintf(c *SprintfContext)

	// EnterSelect is called when entering the Select production.
	EnterSelect(c *SelectContext)

	// EnterStructLit is called when entering the StructLit production.
	EnterStructLit(c *StructLitContext)

	// EnterExprs is called when entering the exprs production.
	EnterExprs(c *ExprsContext)

	// ExitProgram is called when exiting the program production.
	ExitProgram(c *ProgramContext)

	// ExitDecls is called when exiting the decls production.
	ExitDecls(c *DeclsContext)

	// ExitTypeDecl is called when exiting the typeDecl production.
	ExitTypeDecl(c *TypeDeclContext)

	// ExitMethDecl is called when exiting the methDecl production.
	ExitMethDecl(c *MethDeclContext)

	// ExitStructTypeLit is called when exiting the StructTypeLit production.
	ExitStructTypeLit(c *StructTypeLitContext)

	// ExitInterfaceTypeLit is called when exiting the InterfaceTypeLit production.
	ExitInterfaceTypeLit(c *InterfaceTypeLitContext)

	// ExitFieldDecls is called when exiting the fieldDecls production.
	ExitFieldDecls(c *FieldDeclsContext)

	// ExitFieldDecl is called when exiting the fieldDecl production.
	ExitFieldDecl(c *FieldDeclContext)

	// ExitSpecs is called when exiting the specs production.
	ExitSpecs(c *SpecsContext)

	// ExitSigSpec is called when exiting the SigSpec production.
	ExitSigSpec(c *SigSpecContext)

	// ExitInterfaceSpec is called when exiting the InterfaceSpec production.
	ExitInterfaceSpec(c *InterfaceSpecContext)

	// ExitSig is called when exiting the sig production.
	ExitSig(c *SigContext)

	// ExitParams is called when exiting the params production.
	ExitParams(c *ParamsContext)

	// ExitParamDecl is called when exiting the paramDecl production.
	ExitParamDecl(c *ParamDeclContext)

	// ExitCall is called when exiting the Call production.
	ExitCall(c *CallContext)

	// ExitVariable is called when exiting the Variable production.
	ExitVariable(c *VariableContext)

	// ExitAssert is called when exiting the Assert production.
	ExitAssert(c *AssertContext)

	// ExitSprintf is called when exiting the Sprintf production.
	ExitSprintf(c *SprintfContext)

	// ExitSelect is called when exiting the Select production.
	ExitSelect(c *SelectContext)

	// ExitStructLit is called when exiting the StructLit production.
	ExitStructLit(c *StructLitContext)

	// ExitExprs is called when exiting the exprs production.
	ExitExprs(c *ExprsContext)
}

FGListener is a complete listener for a parse tree produced by FGParser.

type FGParser

type FGParser struct {
	*antlr.BaseParser
}

func NewFGParser

func NewFGParser(input antlr.TokenStream) *FGParser

func (*FGParser) Decls

func (p *FGParser) Decls() (localctx IDeclsContext)

func (*FGParser) Expr

func (p *FGParser) Expr() (localctx IExprContext)

func (*FGParser) Expr_Sempred

func (p *FGParser) Expr_Sempred(localctx antlr.RuleContext, predIndex int) bool

func (*FGParser) Exprs

func (p *FGParser) Exprs() (localctx IExprsContext)

func (*FGParser) FieldDecl

func (p *FGParser) FieldDecl() (localctx IFieldDeclContext)

func (*FGParser) FieldDecls

func (p *FGParser) FieldDecls() (localctx IFieldDeclsContext)

func (*FGParser) MethDecl

func (p *FGParser) MethDecl() (localctx IMethDeclContext)

func (*FGParser) ParamDecl

func (p *FGParser) ParamDecl() (localctx IParamDeclContext)

func (*FGParser) Params

func (p *FGParser) Params() (localctx IParamsContext)

func (*FGParser) Program

func (p *FGParser) Program() (localctx IProgramContext)

func (*FGParser) Sempred

func (p *FGParser) Sempred(localctx antlr.RuleContext, ruleIndex, predIndex int) bool

func (*FGParser) Sig

func (p *FGParser) Sig() (localctx ISigContext)

func (*FGParser) Spec

func (p *FGParser) Spec() (localctx ISpecContext)

func (*FGParser) Specs

func (p *FGParser) Specs() (localctx ISpecsContext)

func (*FGParser) TypeDecl

func (p *FGParser) TypeDecl() (localctx ITypeDeclContext)

func (*FGParser) TypeLit

func (p *FGParser) TypeLit() (localctx ITypeLitContext)

type FieldDeclContext

type FieldDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFieldDeclContext

func NewEmptyFieldDeclContext() *FieldDeclContext

func NewFieldDeclContext

func NewFieldDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldDeclContext

func (*FieldDeclContext) AllNAME

func (s *FieldDeclContext) AllNAME() []antlr.TerminalNode

func (*FieldDeclContext) EnterRule

func (s *FieldDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*FieldDeclContext) ExitRule

func (s *FieldDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*FieldDeclContext) GetField

func (s *FieldDeclContext) GetField() antlr.Token

func (*FieldDeclContext) GetParser

func (s *FieldDeclContext) GetParser() antlr.Parser

func (*FieldDeclContext) GetRuleContext

func (s *FieldDeclContext) GetRuleContext() antlr.RuleContext

func (*FieldDeclContext) GetTyp

func (s *FieldDeclContext) GetTyp() antlr.Token

func (*FieldDeclContext) IsFieldDeclContext

func (*FieldDeclContext) IsFieldDeclContext()

func (*FieldDeclContext) NAME

func (*FieldDeclContext) SetField

func (s *FieldDeclContext) SetField(v antlr.Token)

func (*FieldDeclContext) SetTyp

func (s *FieldDeclContext) SetTyp(v antlr.Token)

func (*FieldDeclContext) ToStringTree

func (s *FieldDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type FieldDeclsContext

type FieldDeclsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyFieldDeclsContext

func NewEmptyFieldDeclsContext() *FieldDeclsContext

func NewFieldDeclsContext

func NewFieldDeclsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *FieldDeclsContext

func (*FieldDeclsContext) AllFieldDecl

func (s *FieldDeclsContext) AllFieldDecl() []IFieldDeclContext

func (*FieldDeclsContext) EnterRule

func (s *FieldDeclsContext) EnterRule(listener antlr.ParseTreeListener)

func (*FieldDeclsContext) ExitRule

func (s *FieldDeclsContext) ExitRule(listener antlr.ParseTreeListener)

func (*FieldDeclsContext) FieldDecl

func (s *FieldDeclsContext) FieldDecl(i int) IFieldDeclContext

func (*FieldDeclsContext) GetParser

func (s *FieldDeclsContext) GetParser() antlr.Parser

func (*FieldDeclsContext) GetRuleContext

func (s *FieldDeclsContext) GetRuleContext() antlr.RuleContext

func (*FieldDeclsContext) IsFieldDeclsContext

func (*FieldDeclsContext) IsFieldDeclsContext()

func (*FieldDeclsContext) ToStringTree

func (s *FieldDeclsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type IDeclsContext

type IDeclsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsDeclsContext differentiates from other interfaces.
	IsDeclsContext()
}

IDeclsContext is an interface to support dynamic dispatch.

type IExprContext

type IExprContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExprContext differentiates from other interfaces.
	IsExprContext()
}

IExprContext is an interface to support dynamic dispatch.

type IExprsContext

type IExprsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsExprsContext differentiates from other interfaces.
	IsExprsContext()
}

IExprsContext is an interface to support dynamic dispatch.

type IFieldDeclContext

type IFieldDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetField returns the field token.
	GetField() antlr.Token

	// GetTyp returns the typ token.
	GetTyp() antlr.Token

	// SetField sets the field token.
	SetField(antlr.Token)

	// SetTyp sets the typ token.
	SetTyp(antlr.Token)

	// IsFieldDeclContext differentiates from other interfaces.
	IsFieldDeclContext()
}

IFieldDeclContext is an interface to support dynamic dispatch.

type IFieldDeclsContext

type IFieldDeclsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsFieldDeclsContext differentiates from other interfaces.
	IsFieldDeclsContext()
}

IFieldDeclsContext is an interface to support dynamic dispatch.

type IMethDeclContext

type IMethDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsMethDeclContext differentiates from other interfaces.
	IsMethDeclContext()
}

IMethDeclContext is an interface to support dynamic dispatch.

type IParamDeclContext

type IParamDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetVari returns the vari token.
	GetVari() antlr.Token

	// GetTyp returns the typ token.
	GetTyp() antlr.Token

	// SetVari sets the vari token.
	SetVari(antlr.Token)

	// SetTyp sets the typ token.
	SetTyp(antlr.Token)

	// IsParamDeclContext differentiates from other interfaces.
	IsParamDeclContext()
}

IParamDeclContext is an interface to support dynamic dispatch.

type IParamsContext

type IParamsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsParamsContext differentiates from other interfaces.
	IsParamsContext()
}

IParamsContext is an interface to support dynamic dispatch.

type IProgramContext

type IProgramContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsProgramContext differentiates from other interfaces.
	IsProgramContext()
}

IProgramContext is an interface to support dynamic dispatch.

type ISigContext

type ISigContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// GetMeth returns the meth token.
	GetMeth() antlr.Token

	// GetRet returns the ret token.
	GetRet() antlr.Token

	// SetMeth sets the meth token.
	SetMeth(antlr.Token)

	// SetRet sets the ret token.
	SetRet(antlr.Token)

	// IsSigContext differentiates from other interfaces.
	IsSigContext()
}

ISigContext is an interface to support dynamic dispatch.

type ISpecContext

type ISpecContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSpecContext differentiates from other interfaces.
	IsSpecContext()
}

ISpecContext is an interface to support dynamic dispatch.

type ISpecsContext

type ISpecsContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsSpecsContext differentiates from other interfaces.
	IsSpecsContext()
}

ISpecsContext is an interface to support dynamic dispatch.

type ITypeDeclContext

type ITypeDeclContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeDeclContext differentiates from other interfaces.
	IsTypeDeclContext()
}

ITypeDeclContext is an interface to support dynamic dispatch.

type ITypeLitContext

type ITypeLitContext interface {
	antlr.ParserRuleContext

	// GetParser returns the parser.
	GetParser() antlr.Parser

	// IsTypeLitContext differentiates from other interfaces.
	IsTypeLitContext()
}

ITypeLitContext is an interface to support dynamic dispatch.

type InterfaceSpecContext

type InterfaceSpecContext struct {
	*SpecContext
}

func NewInterfaceSpecContext

func NewInterfaceSpecContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InterfaceSpecContext

func (*InterfaceSpecContext) EnterRule

func (s *InterfaceSpecContext) EnterRule(listener antlr.ParseTreeListener)

func (*InterfaceSpecContext) ExitRule

func (s *InterfaceSpecContext) ExitRule(listener antlr.ParseTreeListener)

func (*InterfaceSpecContext) GetRuleContext

func (s *InterfaceSpecContext) GetRuleContext() antlr.RuleContext

func (*InterfaceSpecContext) NAME

type InterfaceTypeLitContext

type InterfaceTypeLitContext struct {
	*TypeLitContext
}

func NewInterfaceTypeLitContext

func NewInterfaceTypeLitContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *InterfaceTypeLitContext

func (*InterfaceTypeLitContext) EnterRule

func (s *InterfaceTypeLitContext) EnterRule(listener antlr.ParseTreeListener)

func (*InterfaceTypeLitContext) ExitRule

func (s *InterfaceTypeLitContext) ExitRule(listener antlr.ParseTreeListener)

func (*InterfaceTypeLitContext) GetRuleContext

func (s *InterfaceTypeLitContext) GetRuleContext() antlr.RuleContext

func (*InterfaceTypeLitContext) INTERFACE

func (*InterfaceTypeLitContext) Specs

type MethDeclContext

type MethDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyMethDeclContext

func NewEmptyMethDeclContext() *MethDeclContext

func NewMethDeclContext

func NewMethDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MethDeclContext

func (*MethDeclContext) EnterRule

func (s *MethDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*MethDeclContext) ExitRule

func (s *MethDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*MethDeclContext) Expr

func (s *MethDeclContext) Expr() IExprContext

func (*MethDeclContext) FUNC

func (*MethDeclContext) GetParser

func (s *MethDeclContext) GetParser() antlr.Parser

func (*MethDeclContext) GetRuleContext

func (s *MethDeclContext) GetRuleContext() antlr.RuleContext

func (*MethDeclContext) IsMethDeclContext

func (*MethDeclContext) IsMethDeclContext()

func (*MethDeclContext) ParamDecl

func (s *MethDeclContext) ParamDecl() IParamDeclContext

func (*MethDeclContext) RETURN

func (s *MethDeclContext) RETURN() antlr.TerminalNode

func (*MethDeclContext) Sig

func (s *MethDeclContext) Sig() ISigContext

func (*MethDeclContext) ToStringTree

func (s *MethDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ParamDeclContext

type ParamDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyParamDeclContext

func NewEmptyParamDeclContext() *ParamDeclContext

func NewParamDeclContext

func NewParamDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParamDeclContext

func (*ParamDeclContext) AllNAME

func (s *ParamDeclContext) AllNAME() []antlr.TerminalNode

func (*ParamDeclContext) EnterRule

func (s *ParamDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*ParamDeclContext) ExitRule

func (s *ParamDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*ParamDeclContext) GetParser

func (s *ParamDeclContext) GetParser() antlr.Parser

func (*ParamDeclContext) GetRuleContext

func (s *ParamDeclContext) GetRuleContext() antlr.RuleContext

func (*ParamDeclContext) GetTyp

func (s *ParamDeclContext) GetTyp() antlr.Token

func (*ParamDeclContext) GetVari

func (s *ParamDeclContext) GetVari() antlr.Token

func (*ParamDeclContext) IsParamDeclContext

func (*ParamDeclContext) IsParamDeclContext()

func (*ParamDeclContext) NAME

func (*ParamDeclContext) SetTyp

func (s *ParamDeclContext) SetTyp(v antlr.Token)

func (*ParamDeclContext) SetVari

func (s *ParamDeclContext) SetVari(v antlr.Token)

func (*ParamDeclContext) ToStringTree

func (s *ParamDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ParamsContext

type ParamsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyParamsContext

func NewEmptyParamsContext() *ParamsContext

func NewParamsContext

func NewParamsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ParamsContext

func (*ParamsContext) AllParamDecl

func (s *ParamsContext) AllParamDecl() []IParamDeclContext

func (*ParamsContext) EnterRule

func (s *ParamsContext) EnterRule(listener antlr.ParseTreeListener)

func (*ParamsContext) ExitRule

func (s *ParamsContext) ExitRule(listener antlr.ParseTreeListener)

func (*ParamsContext) GetParser

func (s *ParamsContext) GetParser() antlr.Parser

func (*ParamsContext) GetRuleContext

func (s *ParamsContext) GetRuleContext() antlr.RuleContext

func (*ParamsContext) IsParamsContext

func (*ParamsContext) IsParamsContext()

func (*ParamsContext) ParamDecl

func (s *ParamsContext) ParamDecl(i int) IParamDeclContext

func (*ParamsContext) ToStringTree

func (s *ParamsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type ProgramContext

type ProgramContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyProgramContext

func NewEmptyProgramContext() *ProgramContext

func NewProgramContext

func NewProgramContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ProgramContext

func (*ProgramContext) AllMAIN

func (s *ProgramContext) AllMAIN() []antlr.TerminalNode

func (*ProgramContext) Decls

func (s *ProgramContext) Decls() IDeclsContext

func (*ProgramContext) EOF

func (*ProgramContext) EnterRule

func (s *ProgramContext) EnterRule(listener antlr.ParseTreeListener)

func (*ProgramContext) ExitRule

func (s *ProgramContext) ExitRule(listener antlr.ParseTreeListener)

func (*ProgramContext) Expr

func (s *ProgramContext) Expr() IExprContext

func (*ProgramContext) FMT

func (*ProgramContext) FUNC

func (s *ProgramContext) FUNC() antlr.TerminalNode

func (*ProgramContext) GetParser

func (s *ProgramContext) GetParser() antlr.Parser

func (*ProgramContext) GetRuleContext

func (s *ProgramContext) GetRuleContext() antlr.RuleContext

func (*ProgramContext) IMPORT

func (s *ProgramContext) IMPORT() antlr.TerminalNode

func (*ProgramContext) IsProgramContext

func (*ProgramContext) IsProgramContext()

func (*ProgramContext) MAIN

func (s *ProgramContext) MAIN(i int) antlr.TerminalNode

func (*ProgramContext) PACKAGE

func (s *ProgramContext) PACKAGE() antlr.TerminalNode

func (*ProgramContext) PRINTF

func (s *ProgramContext) PRINTF() antlr.TerminalNode

func (*ProgramContext) STRING

func (s *ProgramContext) STRING() antlr.TerminalNode

func (*ProgramContext) ToStringTree

func (s *ProgramContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SelectContext

type SelectContext struct {
	*ExprContext
}

func NewSelectContext

func NewSelectContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SelectContext

func (*SelectContext) EnterRule

func (s *SelectContext) EnterRule(listener antlr.ParseTreeListener)

func (*SelectContext) ExitRule

func (s *SelectContext) ExitRule(listener antlr.ParseTreeListener)

func (*SelectContext) Expr

func (s *SelectContext) Expr() IExprContext

func (*SelectContext) GetRuleContext

func (s *SelectContext) GetRuleContext() antlr.RuleContext

func (*SelectContext) NAME

func (s *SelectContext) NAME() antlr.TerminalNode

type SigContext

type SigContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySigContext

func NewEmptySigContext() *SigContext

func NewSigContext

func NewSigContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SigContext

func (*SigContext) AllNAME

func (s *SigContext) AllNAME() []antlr.TerminalNode

func (*SigContext) EnterRule

func (s *SigContext) EnterRule(listener antlr.ParseTreeListener)

func (*SigContext) ExitRule

func (s *SigContext) ExitRule(listener antlr.ParseTreeListener)

func (*SigContext) GetMeth

func (s *SigContext) GetMeth() antlr.Token

func (*SigContext) GetParser

func (s *SigContext) GetParser() antlr.Parser

func (*SigContext) GetRet

func (s *SigContext) GetRet() antlr.Token

func (*SigContext) GetRuleContext

func (s *SigContext) GetRuleContext() antlr.RuleContext

func (*SigContext) IsSigContext

func (*SigContext) IsSigContext()

func (*SigContext) NAME

func (s *SigContext) NAME(i int) antlr.TerminalNode

func (*SigContext) Params

func (s *SigContext) Params() IParamsContext

func (*SigContext) SetMeth

func (s *SigContext) SetMeth(v antlr.Token)

func (*SigContext) SetRet

func (s *SigContext) SetRet(v antlr.Token)

func (*SigContext) ToStringTree

func (s *SigContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SigSpecContext

type SigSpecContext struct {
	*SpecContext
}

func NewSigSpecContext

func NewSigSpecContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SigSpecContext

func (*SigSpecContext) EnterRule

func (s *SigSpecContext) EnterRule(listener antlr.ParseTreeListener)

func (*SigSpecContext) ExitRule

func (s *SigSpecContext) ExitRule(listener antlr.ParseTreeListener)

func (*SigSpecContext) GetRuleContext

func (s *SigSpecContext) GetRuleContext() antlr.RuleContext

func (*SigSpecContext) Sig

func (s *SigSpecContext) Sig() ISigContext

type SpecContext

type SpecContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySpecContext

func NewEmptySpecContext() *SpecContext

func NewSpecContext

func NewSpecContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SpecContext

func (*SpecContext) CopyFrom

func (s *SpecContext) CopyFrom(ctx *SpecContext)

func (*SpecContext) GetParser

func (s *SpecContext) GetParser() antlr.Parser

func (*SpecContext) GetRuleContext

func (s *SpecContext) GetRuleContext() antlr.RuleContext

func (*SpecContext) IsSpecContext

func (*SpecContext) IsSpecContext()

func (*SpecContext) ToStringTree

func (s *SpecContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SpecsContext

type SpecsContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptySpecsContext

func NewEmptySpecsContext() *SpecsContext

func NewSpecsContext

func NewSpecsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *SpecsContext

func (*SpecsContext) AllSpec

func (s *SpecsContext) AllSpec() []ISpecContext

func (*SpecsContext) EnterRule

func (s *SpecsContext) EnterRule(listener antlr.ParseTreeListener)

func (*SpecsContext) ExitRule

func (s *SpecsContext) ExitRule(listener antlr.ParseTreeListener)

func (*SpecsContext) GetParser

func (s *SpecsContext) GetParser() antlr.Parser

func (*SpecsContext) GetRuleContext

func (s *SpecsContext) GetRuleContext() antlr.RuleContext

func (*SpecsContext) IsSpecsContext

func (*SpecsContext) IsSpecsContext()

func (*SpecsContext) Spec

func (s *SpecsContext) Spec(i int) ISpecContext

func (*SpecsContext) ToStringTree

func (s *SpecsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type SprintfContext

type SprintfContext struct {
	*ExprContext
}

func NewSprintfContext

func NewSprintfContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *SprintfContext

func (*SprintfContext) AllExpr

func (s *SprintfContext) AllExpr() []IExprContext

func (*SprintfContext) EnterRule

func (s *SprintfContext) EnterRule(listener antlr.ParseTreeListener)

func (*SprintfContext) ExitRule

func (s *SprintfContext) ExitRule(listener antlr.ParseTreeListener)

func (*SprintfContext) Expr

func (s *SprintfContext) Expr(i int) IExprContext

func (*SprintfContext) FMT

func (*SprintfContext) GetRuleContext

func (s *SprintfContext) GetRuleContext() antlr.RuleContext

func (*SprintfContext) SPRINTF

func (s *SprintfContext) SPRINTF() antlr.TerminalNode

func (*SprintfContext) STRING

func (s *SprintfContext) STRING() antlr.TerminalNode

type StructLitContext

type StructLitContext struct {
	*ExprContext
}

func NewStructLitContext

func NewStructLitContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StructLitContext

func (*StructLitContext) EnterRule

func (s *StructLitContext) EnterRule(listener antlr.ParseTreeListener)

func (*StructLitContext) ExitRule

func (s *StructLitContext) ExitRule(listener antlr.ParseTreeListener)

func (*StructLitContext) Exprs

func (s *StructLitContext) Exprs() IExprsContext

func (*StructLitContext) GetRuleContext

func (s *StructLitContext) GetRuleContext() antlr.RuleContext

func (*StructLitContext) NAME

type StructTypeLitContext

type StructTypeLitContext struct {
	*TypeLitContext
}

func NewStructTypeLitContext

func NewStructTypeLitContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *StructTypeLitContext

func (*StructTypeLitContext) EnterRule

func (s *StructTypeLitContext) EnterRule(listener antlr.ParseTreeListener)

func (*StructTypeLitContext) ExitRule

func (s *StructTypeLitContext) ExitRule(listener antlr.ParseTreeListener)

func (*StructTypeLitContext) FieldDecls

func (s *StructTypeLitContext) FieldDecls() IFieldDeclsContext

func (*StructTypeLitContext) GetRuleContext

func (s *StructTypeLitContext) GetRuleContext() antlr.RuleContext

func (*StructTypeLitContext) STRUCT

type TypeDeclContext

type TypeDeclContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTypeDeclContext

func NewEmptyTypeDeclContext() *TypeDeclContext

func NewTypeDeclContext

func NewTypeDeclContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeDeclContext

func (*TypeDeclContext) EnterRule

func (s *TypeDeclContext) EnterRule(listener antlr.ParseTreeListener)

func (*TypeDeclContext) ExitRule

func (s *TypeDeclContext) ExitRule(listener antlr.ParseTreeListener)

func (*TypeDeclContext) GetParser

func (s *TypeDeclContext) GetParser() antlr.Parser

func (*TypeDeclContext) GetRuleContext

func (s *TypeDeclContext) GetRuleContext() antlr.RuleContext

func (*TypeDeclContext) IsTypeDeclContext

func (*TypeDeclContext) IsTypeDeclContext()

func (*TypeDeclContext) NAME

func (*TypeDeclContext) TYPE

func (*TypeDeclContext) ToStringTree

func (s *TypeDeclContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

func (*TypeDeclContext) TypeLit

func (s *TypeDeclContext) TypeLit() ITypeLitContext

type TypeLitContext

type TypeLitContext struct {
	*antlr.BaseParserRuleContext
	// contains filtered or unexported fields
}

func NewEmptyTypeLitContext

func NewEmptyTypeLitContext() *TypeLitContext

func NewTypeLitContext

func NewTypeLitContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TypeLitContext

func (*TypeLitContext) CopyFrom

func (s *TypeLitContext) CopyFrom(ctx *TypeLitContext)

func (*TypeLitContext) GetParser

func (s *TypeLitContext) GetParser() antlr.Parser

func (*TypeLitContext) GetRuleContext

func (s *TypeLitContext) GetRuleContext() antlr.RuleContext

func (*TypeLitContext) IsTypeLitContext

func (*TypeLitContext) IsTypeLitContext()

func (*TypeLitContext) ToStringTree

func (s *TypeLitContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string

type VariableContext

type VariableContext struct {
	*ExprContext
}

func NewVariableContext

func NewVariableContext(parser antlr.Parser, ctx antlr.ParserRuleContext) *VariableContext

func (*VariableContext) EnterRule

func (s *VariableContext) EnterRule(listener antlr.ParseTreeListener)

func (*VariableContext) ExitRule

func (s *VariableContext) ExitRule(listener antlr.ParseTreeListener)

func (*VariableContext) GetRuleContext

func (s *VariableContext) GetRuleContext() antlr.RuleContext

func (*VariableContext) NAME

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL