Top Description Constructors Methods
io.github.kusoroadeolu.veneer

public Class JSONBaseVisitor<T>

extends AbstractParseTreeVisitor<T>
implements JSONVisitor<T>
Class Inheritance
All Implemented Interfaces
io.github.kusoroadeolu.veneer.JSONVisitor, org.antlr.v4.runtime.tree.ParseTreeVisitor
Known Direct Subclasses
io.github.kusoroadeolu.veneer.JSONSyntaxHighlighter.DefaultJSONBaseVisitor
Annotations
@SuppressWarnings:CheckReturnValue
Type Parameters
<T>
The return type of the visit operation. Use Void for operations with no return type.
Imports
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor

This class provides an empty implementation of JSONVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public T
public T
public T
public T
public T
Inherited from org.antlr.v4.runtime.tree.AbstractParseTreeVisitor:
aggregateResultdefaultResultshouldVisitNextChildvisitvisitChildrenvisitErrorNodevisitTerminal

Constructor Detail

JSONBaseVisitorback to summary
public JSONBaseVisitor()

Method Detail

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

Implements io.github.kusoroadeolu.veneer.JSONVisitor.visitArr.

Doc from io.github.kusoroadeolu.veneer.JSONVisitor.visitArr.

Visit a parse tree produced by JSONParser#arr.

The default implementation returns the result of calling visitChildren on ctx.

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

Implements io.github.kusoroadeolu.veneer.JSONVisitor.visitJson.

Doc from io.github.kusoroadeolu.veneer.JSONVisitor.visitJson.

Visit a parse tree produced by JSONParser#json.

The default implementation returns the result of calling visitChildren on ctx.

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

Implements io.github.kusoroadeolu.veneer.JSONVisitor.visitObj.

Doc from io.github.kusoroadeolu.veneer.JSONVisitor.visitObj.

Visit a parse tree produced by JSONParser#obj.

The default implementation returns the result of calling visitChildren on ctx.

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

Implements io.github.kusoroadeolu.veneer.JSONVisitor.visitPair.

Doc from io.github.kusoroadeolu.veneer.JSONVisitor.visitPair.

Visit a parse tree produced by JSONParser#pair.

The default implementation returns the result of calling visitChildren on ctx.

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

Implements io.github.kusoroadeolu.veneer.JSONVisitor.visitValue.

Doc from io.github.kusoroadeolu.veneer.JSONVisitor.visitValue.

Visit a parse tree produced by JSONParser#value.

The default implementation returns the result of calling visitChildren on ctx.

Annotations
@Override