Libraries.Language.Compile.QuorumSourceListener Documentation

Inherits from: Libraries.Language.Object

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)

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

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

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

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 addition)

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 ctx)

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 ctx)

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

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

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

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 ctx)

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)

EnterParentAssignment(Libraries.Language.Compile.Context.ParentAssignmentContext context)

EnterParentFieldAccess(Libraries.Language.Compile.Context.ParentFieldAccessContext context)

EnterParentVariableFunctionCall(Libraries.Language.Compile.Context.ParentVariableFunctionCallContext context)

EnterParentVariableSoloFunctionCall(Libraries.Language.Compile.Context.ParentVariableFunctionCallContext context)

EnterParenthesisExpression(Libraries.Language