QuorumBytecodeListener

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

Actions

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

else we're making a call on a field, so get it off the stack and take a look

Parameters

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

Parameters

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

get the method name

Parameters

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

get the exception variable from the block

Parameters

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

make sure the call is allowed and inform the writer

Parameters

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

Parameters

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

Parameters

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

get the method name

Parameters

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

Parameters

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

currentBlock:SetReturnThisBlock(true)

Parameters

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

check all my blocks to make sure we satisfy a return

Parameters

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

Parameters

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

check to make sure this is valid in the current class.

Parameters

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

handle any casts, if there are any

Parameters

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

Parameters

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

Parameters

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

the system should have already output an error, so return

Parameters

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

Parameters

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

the left hand side for the user if they so choose

Parameters

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

it is mapped to a generic, so find the variable it is mapped to

Parameters

EnterVariableFunctionCall(Libraries.Language.Compile.Context.VariableFunctionCallContext context)

no index, this is an error

Parameters

EnterVariableSoloFunctionCall(Libraries.Language.Compile.Context.VariableFunctionCallContext context)

hey awesome, that was easy!

Parameters

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

Parameters

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

issue an error, this is not allowed.

Parameters

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

thus, if there's a return type, we need to pop it off the stack.

Parameters

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

Parameters

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

Parameters

ExitAddition(Libraries.Language.Compile.Context.AdditionContext addition)

Parameters

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

Parameters

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

a return in this always block belongs to the checks outside it

Parameters

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

I don't know why, but this fixes a Quorum 2 bug.

Parameters

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

Parameters

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

Parameters

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

if it is, again previous phase will catch this

Parameters

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

Parameters

ExitClass()

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

Parameters

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

Parameters

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

get all of the elseif blocks and check them too

Parameters

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

there is a problem and we have previously thrown a compiler error

Parameters

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

it's not in the current class

Parameters

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

Parameters

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

Parameters

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

get the most recent type off the stack

Parameters

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

the system should have already output an error, so return

Parameters

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

Parameters

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

check if it's either text or undefined

Parameters

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

Parameters

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

if it isn't text, it better be either Object or a subclass

Parameters

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

Parameters

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

Parameters

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

Parameters

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

Parameters

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

Parameters

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

we can't allow this to be instantiated, throw an error

Parameters

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

the system should have already output an error, so return

Parameters

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

Parameters

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

Parameters

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

Parameters

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

Parameters

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

now check to see if it's even possible that this type "is" the other type

Parameters

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

Parameters

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

there might be more conditions, as this is just the most restrictive

Parameters

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

this action is private and in another class.

Parameters

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

primitive, so get the object version

Parameters

ExitReturnStatement(Libraries.Language.Compile.Context.ReturnContext context)

throw a compiler error.

Parameters

ExitSayStatement(Libraries.Language.Compile.Context.SayContext context)

Parameters

ExitStatement(Libraries.Language.Compile.Context.StatementContext context)

if this is not a void method, handle the return

Parameters

ExitText(Libraries.Language.Compile.Context.TextContext context)

Parameters

ExitUndefined(Libraries.Language.Compile.Context.UndefinedContext context)

Parameters

ExitVariableFunctionCall(Libraries.Language.Compile.Context.VariableFunctionCallContext context)

this action must be defined in a parent. Map its generics separately

Parameters

ExitVariableSoloFunctionCall(Libraries.Language.Compile.Context.VariableFunctionCallContext context)

matters or not.

Parameters

FinishActionResolution(Libraries.Language.Compile.Translate.ActionCallOpcode actionCall, Libraries.Language.Compile.Symbol.ActionCallResolution resolved)

the left hand side for the user if they so choose

Parameters

GetBuildFile()

Returns

Libraries.System.File

GetBuildInterfaceFile()

Returns

Libraries.System.File

GetClassOpcode()

This returns true if a say statement exists within this class.

Returns

Libraries.Language.Compile.Translate.ClassOpcode

HasSayStatementInClass()

This returns true if a say statement exists within this class.

Returns

boolean

Inherited Actions

79 actions from Libraries.Language.Compile.QuorumSourceListener
3 actions from Libraries.Language.Object