Top Description Methods
io.github.kusoroadeolu.veneer

public Interface JSONVisitor<T>

extends ParseTreeVisitor<T>
Known Direct Implementers
io.github.kusoroadeolu.veneer.JSONBaseVisitor
Type Parameters
<T>
The return type of the visit operation. Use Void for operations with no return type.
Imports
org.antlr.v4.runtime.tree.ParseTreeVisitor

This interface defines a complete generic visitor for a parse tree produced by JSONParser.

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

the visitor result
visitArr
(JSONParser.ArrContext
the parse tree
ctx
)

Visit a parse tree produced by JSONParser#arr.

public T

Returns:

the visitor result
visitJson
(JSONParser.JsonContext
the parse tree
ctx
)

Visit a parse tree produced by JSONParser#json.

public T

Returns:

the visitor result
visitObj
(JSONParser.ObjContext
the parse tree
ctx
)

Visit a parse tree produced by JSONParser#obj.

public T

Returns:

the visitor result
visitPair
(JSONParser.PairContext
the parse tree
ctx
)

Visit a parse tree produced by JSONParser#pair.

public T

Returns:

the visitor result
visitValue
(JSONParser.ValueContext
the parse tree
ctx
)

Visit a parse tree produced by JSONParser#value.

Inherited from org.antlr.v4.runtime.tree.ParseTreeVisitor:
visitvisitChildrenvisitErrorNodevisitTerminal

Method Detail

visitArrback to summary
public T visitArr(JSONParser.ArrContext ctx)

Visit a parse tree produced by JSONParser#arr.

Parameters
ctx:JSONParser.ArrContext

the parse tree

Returns:T

the visitor result

visitJsonback to summary
public T visitJson(JSONParser.JsonContext ctx)

Visit a parse tree produced by JSONParser#json.

Parameters
ctx:JSONParser.JsonContext

the parse tree

Returns:T

the visitor result

visitObjback to summary
public T visitObj(JSONParser.ObjContext ctx)

Visit a parse tree produced by JSONParser#obj.

Parameters
ctx:JSONParser.ObjContext

the parse tree

Returns:T

the visitor result

visitPairback to summary
public T visitPair(JSONParser.PairContext ctx)

Visit a parse tree produced by JSONParser#pair.

Parameters
ctx:JSONParser.PairContext

the parse tree

Returns:T

the visitor result

visitValueback to summary
public T visitValue(JSONParser.ValueContext ctx)

Visit a parse tree produced by JSONParser#value.

Parameters
ctx:JSONParser.ValueContext

the parse tree

Returns:T

the visitor result