Libraries.Language.Compile.Parsing.UnifiedSourceListener Documentation

This is a listener that by default calls an Enter and Exit action for every rule in a parse tree. In and of itself, it is not particularly useful for clients and should not be used. It exists because some sub-classes of Quorum may wish to "turn off" certain features of the language in certain circumstances and sub-classes can do this easily using this architecture.

Inherits from: Libraries.Language.Object, Libraries.Language.Compile.QuorumSourceListener

Actions Documentation

Compare(Libraries.Language.Object object)

This action compares two object hash codes and returns an integer. The result is larger if this hash code is larger than the object passed as a parameter, smaller, or equal. In this case, -1 means smaller, 0 means equal, and 1 means larger. This action was changed in Quorum 7 to return an integer, instead of a CompareResult object, because the previous implementation was causing efficiency issues.

Parameters

Return

integer: The Compare result, Smaller, Equal, or Larger.

Example

Object o
Object t
integer result = o:Compare(t) //1 (larger), 0 (equal), or -1 (smaller)

Enter(Libraries.Language.Compile.Context.ParseContext context)

EnterAccessModifier(Libraries.Language.Compile.Context.AccessModifierContext context)

EnterAction(Libraries.Language.Compile.Context.ActionContext context)

EnterActionCall(Libraries.Language.Compile.Context.ActionCallContext context)

EnterActionExpressionList(Libraries.Language.Compile.Context.ActionExpressionListContext context)

EnterActionHeader(Libraries.Language.Compile.Context.ActionContext context)

EnterActionsNoClass(Libraries.Language.Compile.Context.ActionsNoClassContext context)

EnterAddition(Libraries.Language.Compile.Context.AdditionContext context)

EnterAlertStatement(Libraries.Language.Compile.Context.AlertContext context)

EnterAlwaysStatement(Libraries.Language.Compile.Context.AlwaysStatementContext context)

EnterAnd(Libraries.Language.Compile.Context.AndOrContext context)

EnterAssignmentDeclaration(Libraries.Language.Compile.Context.AssignmentDeclaractionContext context)

EnterBlock(Libraries.Language.Compile.Context.BlockContext context)

EnterBlueprintAction(Libraries.Language.Compile.Context.ActionContext context)

EnterBoolean(Libraries.Language.Compile.Context.BooleanContext context)

EnterCast(Libraries.Language.Compile.Context.CastContext context)

EnterCheckStatement(Libraries.Language.Compile.Context.CheckContext context)

EnterClassStatements(Libraries.Language.Compile.Context.ClassStatementsContext context)

EnterClassType(Libraries.Language.Compile.Context.ClassTypeContext context)

EnterConstructor(Libraries.Language.Compile.Context.ConstructorContext context)

EnterDetectStatement(Libraries.Language.Compile.Context.DetectStatementContext context)

EnterDocumentation(Libraries.Language.Compile.Context.DocumentationContext context)

EnterElseIfStatement(Libraries.Language.Compile.Context.IfContext context)

EnterElseStatement(Libraries.Language.Compile.Context.IfContext context)

EnterEquals(Libraries.Language.Compile.Context.EqualsContext context)

EnterFormalParameter(Libraries.Language.Compile.Context.FormalParameterContext context)

EnterFullClassDeclaration(Libraries.Language.Compile.Context.FullClassDeclarationContext context)

EnterGenericDeclaration(Libraries.Language.Compile.Context.GenericDeclarationContext context)

EnterGenericStatement(Libraries.Language.Compile.Context.GenericContext context)

EnterIfStatement(Libraries.Language.Compile.Context.IfContext context)

EnterInequality(Libraries.Language.Compile.Context.InequalityContext context)

EnterInheritStatement(Libraries.Language.Compile.Context.InheritStatementContext context)

EnterInheritStatements(Libraries.Language.Compile.Context.InheritStatementsContext context)

EnterInitialParentActionCall(Libraries.Language.Compile.Context.ActionCallContext context)

EnterInput(Libraries.Language.Compile.Context.InputContext context)

EnterInputNoParameters(Libraries.Language.Compile.Context.InputContext context)

EnterInteger(Libraries.Language.Compile.Context.IntegerContext context)

EnterIs(Libraries.Language.Compile.Context.IsContext context)

EnterLoopStatement(Libraries.Language.Compile.Context.LoopContext context)

EnterMe(Libraries.Language.Compile.Context.MeContext context)

EnterMeVariableAccess(Libraries.Language.Compile.Context.MeVariableAccessContext context)

EnterMinus(Libraries.Language.Compile.Context.UnaryMinusContext context)

EnterMultiplication(Libraries.Language.Compile.Context.MultiplicationContext context)

EnterNoActionsNoClass(Libraries.Language.Compile.Context.NoActionsNoClassContext context)

EnterNoClassDeclaration(Libraries.Language.Compile.Context.NoClassDeclarationContext context)

EnterNoTypeAssignment(Libraries.Language.Compile.Context.NoTypeAssignmentContext context)

EnterNormalAssignment(Libraries.Language.Compile.Context.NormalAssignmentContext context)

EnterNot(Libraries.Language.Compile.Context.NotContext context)

EnterNumber(Libraries.Language.Compile.Context.NumberContext context)

EnterObjectAssignment(Libraries.Language.Compile.Context.ObjectAssignmentContext context)

EnterOr(Libraries.Language.Compile.Context.AndOrContext context)

EnterOutputStatement(Libraries.Language.Compile.Context.OutputContext context)

EnterPackageRule(Libraries.Language.Compile.Context.PackageContext context)