BodyGenerator

edu.vermontstate.mercury.BodyGenerator
class BodyGenerator(templateFolder: String, nameOfFile: String, nameOfModule: String, nameInResolver: String, symbolTable: BasicSymbolTable, out: PrintStream, reporter: Reporter) extends MXDRBaseVisitor[Void]

Attributes

Graph
Supertypes
class MXDRBaseVisitor[Void]
trait MXDRVisitor[Void]
class AbstractParseTreeVisitor[Void]
trait ParseTreeVisitor[Void]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addedLines(lines: List[String]): List[String]
def digEndingStructs(id: String, l: List[String]): List[String]
def doDecode(ctx: Struct_bodyContext, id: String, arrowFlag: Int): Void
def doEncode(ctx: Struct_bodyContext, id: String, arrowFlag: Int): Void
def processStructD(id: String, i: String, l: List[String], posFlag: Int, stringFlag: String, structNum: Int): Void
def processStructDF(i: String, l: List[String], structNum: Int): Void
def processStructE(id: String, i: String, l: List[String], structNum: Int): Void
def processStructV(i: String, l: List[String], structNum: Int): Void
def processTemplate(): List[String]
override def visitSpecification(ctx: SpecificationContext): Void

Attributes

Definition Classes
MXDRBaseVisitor -> MXDRVisitor
override def visitType_def(ctx: Type_defContext): Void

Attributes

Definition Classes
MXDRBaseVisitor -> MXDRVisitor

Inherited methods

def visit(x$0: ParseTree): Void

Attributes

Inherited from:
AbstractParseTreeVisitor
def visitAdd_expression(x$0: Add_expressionContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitAspect_definition(x$0: Aspect_definitionContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitAspect_list(x$0: Aspect_listContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitCase_spec(x$0: Case_specContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitChildren(x$0: RuleNode): Void

Attributes

Inherited from:
AbstractParseTreeVisitor
def visitConstant_def(x$0: Constant_defContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitDeclaration(x$0: DeclarationContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitDecoder_def(x$0: Decoder_defContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitDefinition(x$0: DefinitionContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitEncoder_def(x$0: Encoder_defContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitEnum_body(x$0: Enum_bodyContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitEnum_type_spec(x$0: Enum_type_specContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitErrorNode(x$0: ErrorNode): Void

Attributes

Inherited from:
AbstractParseTreeVisitor
def visitExpression(x$0: ExpressionContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitLine(x$0: LineContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitMultiply_expression(x$0: Multiply_expressionContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitPrimary_expression(x$0: Primary_expressionContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitRange_constraint(x$0: Range_constraintContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitStruct_body(x$0: Struct_bodyContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitStruct_type_spec(x$0: Struct_type_specContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitSubtype_spec(x$0: Subtype_specContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitTerminal(x$0: TerminalNode): Void

Attributes

Inherited from:
AbstractParseTreeVisitor
def visitType_specifier(x$0: Type_specifierContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitUnion_body(x$0: Union_bodyContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitUnion_type_spec(x$0: Union_type_specContext): Void

Attributes

Inherited from:
MXDRBaseVisitor
def visitValue(x$0: ValueContext): Void

Attributes

Inherited from:
MXDRBaseVisitor