VAlgoLangASTGenerator

class VAlgoLangASTGenerator(input: InputStream)

VAlgoLangASTGenerator

Constructors

VAlgoLangASTGenerator
Link copied to clipboard
fun VAlgoLangASTGenerator(input: InputStream)
Create empty VAlgoLangASTGenerator

Functions

convertToAst
Link copied to clipboard
fun convertToAst(program: VAlgoLangParser.ProgramContext): ParserResult
Convert ANTLR parse tree to AST
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
parseFile
Link copied to clipboard
fun parseFile(): Pair<ExitStatus, VAlgoLangParser.ProgramContext>
Parse file to build ANTLR parse tree and find any syntax errors
toString
Link copied to clipboard
open fun toString(): String