AbstractSyntaxTree

public protocol AbstractSyntaxTree

Abstract Syntax Trees are responsible to for taking an IntermediateRepresentation and building a data structure suitable for semantic analysis

  • Create a new instance of the object using the supplied node

    Declaration

    Swift

    init(with node: AbstractSyntaxTreeConstructor.IntermediateRepresentationNode, from source: String) throws

    Parameters

    node

    The node to use to populate the fields of the type