Fork me on GitHub
  • API

    Class JavascriptBaseListener

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

    Inheritance
    object
    JavascriptBaseListener
    Implements
    IJavascriptListener
    IParseTreeListener
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Expressions.JS
    Assembly: Lucene.Net.Expressions.dll
    Syntax
    [CLSCompliant(false)]
    public class JavascriptBaseListener : IJavascriptListener, IParseTreeListener

    Methods

    EnterAdditive(AdditiveContext)

    Enter a parse tree produced by additive().

    The default implementation does nothing.

    Declaration
    public virtual void EnterAdditive(JavascriptParser.AdditiveContext context)
    Parameters
    Type Name Description
    JavascriptParser.AdditiveContext context

    The parse tree.

    EnterArguments(ArgumentsContext)

    Enter a parse tree produced by arguments().

    The default implementation does nothing.

    Declaration
    public virtual void EnterArguments(JavascriptParser.ArgumentsContext context)
    Parameters
    Type Name Description
    JavascriptParser.ArgumentsContext context

    The parse tree.

    EnterBitwise_and(Bitwise_andContext)

    Enter a parse tree produced by bitwise_and().

    The default implementation does nothing.

    Declaration
    public virtual void EnterBitwise_and(JavascriptParser.Bitwise_andContext context)
    Parameters
    Type Name Description
    JavascriptParser.Bitwise_andContext context

    The parse tree.

    EnterBitwise_or(Bitwise_orContext)

    Enter a parse tree produced by bitwise_or().

    The default implementation does nothing.

    Declaration
    public virtual void EnterBitwise_or(JavascriptParser.Bitwise_orContext context)
    Parameters
    Type Name Description
    JavascriptParser.Bitwise_orContext context

    The parse tree.

    EnterBitwise_xor(Bitwise_xorContext)

    Enter a parse tree produced by bitwise_xor().

    The default implementation does nothing.

    Declaration
    public virtual void EnterBitwise_xor(JavascriptParser.Bitwise_xorContext context)
    Parameters
    Type Name Description
    JavascriptParser.Bitwise_xorContext context

    The parse tree.

    EnterCall(CallContext)

    Enter a parse tree produced by call().

    The default implementation does nothing.

    Declaration
    public virtual void EnterCall(JavascriptParser.CallContext context)
    Parameters
    Type Name Description
    JavascriptParser.CallContext context

    The parse tree.

    EnterConditional(ConditionalContext)

    Enter a parse tree produced by conditional().

    The default implementation does nothing.

    Declaration
    public virtual void EnterConditional(JavascriptParser.ConditionalContext context)
    Parameters
    Type Name Description
    JavascriptParser.ConditionalContext context

    The parse tree.

    EnterEquality(EqualityContext)

    Enter a parse tree produced by equality().

    The default implementation does nothing.

    Declaration
    public virtual void EnterEquality(JavascriptParser.EqualityContext context)
    Parameters
    Type Name Description
    JavascriptParser.EqualityContext context

    The parse tree.

    EnterEveryRule(ParserRuleContext)

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

    Declaration
    public virtual void EnterEveryRule(ParserRuleContext context)
    Parameters
    Type Name Description
    ParserRuleContext context
    Remarks

    The default implementation does nothing.

    EnterExpression(ExpressionContext)

    Enter a parse tree produced by expression().

    The default implementation does nothing.

    Declaration
    public virtual void EnterExpression(JavascriptParser.ExpressionContext context)
    Parameters
    Type Name Description
    JavascriptParser.ExpressionContext context

    The parse tree.

    EnterLogical_and(Logical_andContext)

    Enter a parse tree produced by logical_and().

    The default implementation does nothing.

    Declaration
    public virtual void EnterLogical_and(JavascriptParser.Logical_andContext context)
    Parameters
    Type Name Description
    JavascriptParser.Logical_andContext context

    The parse tree.

    EnterLogical_or(Logical_orContext)

    Enter a parse tree produced by logical_or().

    The default implementation does nothing.

    Declaration
    public virtual void EnterLogical_or(JavascriptParser.Logical_orContext context)
    Parameters
    Type Name Description
    JavascriptParser.Logical_orContext context

    The parse tree.

    EnterMultiplicative(MultiplicativeContext)

    Enter a parse tree produced by multiplicative().

    The default implementation does nothing.

    Declaration
    public virtual void EnterMultiplicative(JavascriptParser.MultiplicativeContext context)
    Parameters
    Type Name Description
    JavascriptParser.MultiplicativeContext context

    The parse tree.

    EnterNumeric(NumericContext)

    Enter a parse tree produced by numeric().

    The default implementation does nothing.

    Declaration
    public virtual void EnterNumeric(JavascriptParser.NumericContext context)
    Parameters
    Type Name Description
    JavascriptParser.NumericContext context

    The parse tree.

    EnterPostfix(PostfixContext)

    Enter a parse tree produced by postfix().

    The default implementation does nothing.

    Declaration
    public virtual void EnterPostfix(JavascriptParser.PostfixContext context)
    Parameters
    Type Name Description
    JavascriptParser.PostfixContext context

    The parse tree.

    EnterPrimary(PrimaryContext)

    Enter a parse tree produced by primary().

    The default implementation does nothing.

    Declaration
    public virtual void EnterPrimary(JavascriptParser.PrimaryContext context)
    Parameters
    Type Name Description
    JavascriptParser.PrimaryContext context

    The parse tree.

    EnterRelational(RelationalContext)

    Enter a parse tree produced by relational().

    The default implementation does nothing.

    Declaration
    public virtual void EnterRelational(JavascriptParser.RelationalContext context)
    Parameters
    Type Name Description
    JavascriptParser.RelationalContext context

    The parse tree.

    EnterShift(ShiftContext)

    Enter a parse tree produced by shift().

    The default implementation does nothing.

    Declaration
    public virtual void EnterShift(JavascriptParser.ShiftContext context)
    Parameters
    Type Name Description
    JavascriptParser.ShiftContext context

    The parse tree.

    EnterUnary(UnaryContext)

    Enter a parse tree produced by unary().

    The default implementation does nothing.

    Declaration
    public virtual void EnterUnary(JavascriptParser.UnaryContext context)
    Parameters
    Type Name Description
    JavascriptParser.UnaryContext context

    The parse tree.

    EnterUnary_operator(Unary_operatorContext)

    Enter a parse tree produced by unary_operator().

    The default implementation does nothing.

    Declaration
    public virtual void EnterUnary_operator(JavascriptParser.Unary_operatorContext context)
    Parameters
    Type Name Description
    JavascriptParser.Unary_operatorContext context

    The parse tree.

    ExitAdditive(AdditiveContext)

    Exit a parse tree produced by additive().

    The default implementation does nothing.

    Declaration
    public virtual void ExitAdditive(JavascriptParser.AdditiveContext context)
    Parameters
    Type Name Description
    JavascriptParser.AdditiveContext context

    The parse tree.

    ExitArguments(ArgumentsContext)

    Exit a parse tree produced by arguments().

    The default implementation does nothing.

    Declaration
    public virtual void ExitArguments(JavascriptParser.ArgumentsContext context)
    Parameters
    Type Name Description
    JavascriptParser.ArgumentsContext context

    The parse tree.

    ExitBitwise_and(Bitwise_andContext)

    Exit a parse tree produced by bitwise_and().

    The default implementation does nothing.

    Declaration
    public virtual void ExitBitwise_and(JavascriptParser.Bitwise_andContext context)
    Parameters
    Type Name Description
    JavascriptParser.Bitwise_andContext context

    The parse tree.

    ExitBitwise_or(Bitwise_orContext)

    Exit a parse tree produced by bitwise_or().

    The default implementation does nothing.

    Declaration
    public virtual void ExitBitwise_or(JavascriptParser.Bitwise_orContext context)
    Parameters
    Type Name Description
    JavascriptParser.Bitwise_orContext context

    The parse tree.

    ExitBitwise_xor(Bitwise_xorContext)

    Exit a parse tree produced by bitwise_xor().

    The default implementation does nothing.

    Declaration
    public virtual void ExitBitwise_xor(JavascriptParser.Bitwise_xorContext context)
    Parameters
    Type Name Description
    JavascriptParser.Bitwise_xorContext context

    The parse tree.

    ExitCall(CallContext)

    Exit a parse tree produced by call().

    The default implementation does nothing.

    Declaration
    public virtual void ExitCall(JavascriptParser.CallContext context)
    Parameters
    Type Name Description
    JavascriptParser.CallContext context

    The parse tree.

    ExitConditional(ConditionalContext)

    Exit a parse tree produced by conditional().

    The default implementation does nothing.

    Declaration
    public virtual void ExitConditional(JavascriptParser.ConditionalContext context)
    Parameters
    Type Name Description
    JavascriptParser.ConditionalContext context

    The parse tree.

    ExitEquality(EqualityContext)

    Exit a parse tree produced by equality().

    The default implementation does nothing.

    Declaration
    public virtual void ExitEquality(JavascriptParser.EqualityContext context)
    Parameters
    Type Name Description
    JavascriptParser.EqualityContext context

    The parse tree.

    ExitEveryRule(ParserRuleContext)

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

    Declaration
    public virtual void ExitEveryRule(ParserRuleContext context)
    Parameters
    Type Name Description
    ParserRuleContext context
    Remarks

    The default implementation does nothing.

    ExitExpression(ExpressionContext)

    Exit a parse tree produced by expression().

    The default implementation does nothing.

    Declaration
    public virtual void ExitExpression(JavascriptParser.ExpressionContext context)
    Parameters
    Type Name Description
    JavascriptParser.ExpressionContext context

    The parse tree.

    ExitLogical_and(Logical_andContext)

    Exit a parse tree produced by logical_and().

    The default implementation does nothing.

    Declaration
    public virtual void ExitLogical_and(JavascriptParser.Logical_andContext context)
    Parameters
    Type Name Description
    JavascriptParser.Logical_andContext context

    The parse tree.

    ExitLogical_or(Logical_orContext)

    Exit a parse tree produced by logical_or().

    The default implementation does nothing.

    Declaration
    public virtual void ExitLogical_or(JavascriptParser.Logical_orContext context)
    Parameters
    Type Name Description
    JavascriptParser.Logical_orContext context

    The parse tree.

    ExitMultiplicative(MultiplicativeContext)

    Exit a parse tree produced by multiplicative().

    The default implementation does nothing.

    Declaration
    public virtual void ExitMultiplicative(JavascriptParser.MultiplicativeContext context)
    Parameters
    Type Name Description
    JavascriptParser.MultiplicativeContext context

    The parse tree.

    ExitNumeric(NumericContext)

    Exit a parse tree produced by numeric().

    The default implementation does nothing.

    Declaration
    public virtual void ExitNumeric(JavascriptParser.NumericContext context)
    Parameters
    Type Name Description
    JavascriptParser.NumericContext context

    The parse tree.

    ExitPostfix(PostfixContext)

    Exit a parse tree produced by postfix().

    The default implementation does nothing.

    Declaration
    public virtual void ExitPostfix(JavascriptParser.PostfixContext context)
    Parameters
    Type Name Description
    JavascriptParser.PostfixContext context

    The parse tree.

    ExitPrimary(PrimaryContext)

    Exit a parse tree produced by primary().

    The default implementation does nothing.

    Declaration
    public virtual void ExitPrimary(JavascriptParser.PrimaryContext context)
    Parameters
    Type Name Description
    JavascriptParser.PrimaryContext context

    The parse tree.

    ExitRelational(RelationalContext)

    Exit a parse tree produced by relational().

    The default implementation does nothing.

    Declaration
    public virtual void ExitRelational(JavascriptParser.RelationalContext context)
    Parameters
    Type Name Description
    JavascriptParser.RelationalContext context

    The parse tree.

    ExitShift(ShiftContext)

    Exit a parse tree produced by shift().

    The default implementation does nothing.

    Declaration
    public virtual void ExitShift(JavascriptParser.ShiftContext context)
    Parameters
    Type Name Description
    JavascriptParser.ShiftContext context

    The parse tree.

    ExitUnary(UnaryContext)

    Exit a parse tree produced by unary().

    The default implementation does nothing.

    Declaration
    public virtual void ExitUnary(JavascriptParser.UnaryContext context)
    Parameters
    Type Name Description
    JavascriptParser.UnaryContext context

    The parse tree.

    ExitUnary_operator(Unary_operatorContext)

    Exit a parse tree produced by unary_operator().

    The default implementation does nothing.

    Declaration
    public virtual void ExitUnary_operator(JavascriptParser.Unary_operatorContext context)
    Parameters
    Type Name Description
    JavascriptParser.Unary_operatorContext context

    The parse tree.

    VisitErrorNode(IErrorNode)

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

    Declaration
    public virtual void VisitErrorNode(IErrorNode node)
    Parameters
    Type Name Description
    IErrorNode node
    Remarks

    The default implementation does nothing.

    VisitTerminal(ITerminalNode)

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

    Declaration
    public virtual void VisitTerminal(ITerminalNode node)
    Parameters
    Type Name Description
    ITerminalNode node
    Remarks

    The default implementation does nothing.

    Implements

    IJavascriptListener
    Antlr4.Runtime.Tree.IParseTreeListener
    Back to top Copyright © 2025 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.