Parser

scair.Parser
See theParser companion object
class Parser(val context: MLContext, val args: Args) extends AttrParser

Attributes

Companion
object
Graph
Supertypes
class AttrParser
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def AttributeAliasDef[$ : ParsingRun]: ParsingRun[(String, Attribute)]
def Block[$ : ParsingRun]: ParsingRun[Block]
def BlockArgList[$ : ParsingRun]: ParsingRun[Seq[(String, Attribute)]]
def BlockLabel[$ : ParsingRun]: ParsingRun[(String, ListBuffer[Value[Attribute]])]
def CustomOperation[$ : ParsingRun](resNames: Seq[String]): ParsingRun[Operation]
def DictionaryAttribute[$ : ParsingRun]: ParsingRun[Seq[(String, Attribute)]]
def DictionaryProperties[$ : ParsingRun]: ParsingRun[Seq[(String, Attribute)]]
def GenericOperation[$ : ParsingRun](resNames: Seq[String]): ParsingRun[Operation]
def Op[$ : ParsingRun](resName: Seq[String]): ParsingRun[Operation]
def OperationPat[$ : ParsingRun]: ParsingRun[Operation]
def Operations[$ : ParsingRun](at_least_this_many: Int): ParsingRun[ListBuffer[Operation]]
def Region[$ : ParsingRun]: ParsingRun[Region]
def RegionList[$ : ParsingRun]: ParsingRun[Seq[Region]]
def TopLevel[$ : ParsingRun]: ParsingRun[Operation]
def TypeAlias[$ : ParsingRun]: ParsingRun[String]
def TypeAliasDef[$ : ParsingRun]: ParsingRun[(String, Attribute)]
def ValueIdAndType[$ : ParsingRun]: ParsingRun[(String, Attribute)]
def ValueIdAndTypeList[$ : ParsingRun]: ParsingRun[Seq[(String, Attribute)]]
def createBlock(uncutBlock: (String, ListBuffer[Value[Attribute]], ListBuffer[Operation])): Block
def defineBlockValues(valueIdAndTypeList: Seq[(String, Attribute)]): ListBuffer[Value[Attribute]]
def defineRegion(parseResult: (ListBuffer[Operation], Seq[Block])): Region
def enterLocalRegion: Unit
def enterParentRegion: Unit
def error(failure: Failure): String
def generateOperation(operation: (Seq[String], (String, Seq[String], Seq[String], Seq[(String, Attribute)], Seq[Region], Seq[(String, Attribute)], (Seq[Attribute], Seq[Attribute])))): Operation
def parseThis[A, B](text: String, pattern: (ParsingRun[_]) => ParsingRun[B]): Parsed[B]
def verifyCustomOp(opGen: (ListBuffer[Value[Attribute]], ListBuffer[Block], ListBuffer[Value[Attribute]], ListBuffer[Region], LinkedHashMap[String, Attribute], LinkedHashMap[String, Attribute]) => Operation, opName: String, operandNames: Seq[String], operandTypes: Seq[Attribute], successors: Seq[String], resultNames: Seq[String], resultTypes: Seq[Attribute], regions: Seq[Region], dictProps: Seq[(String, Attribute)], dictAttrs: Seq[(String, Attribute)], noForwardOperandRef: Int): Operation

Inherited methods

def AffineMapAttrP[$ : ParsingRun]: ParsingRun[AffineMapAttr]

Attributes

Inherited from:
AttrParser
def AffineSetAttrP[$ : ParsingRun]: ParsingRun[AffineSetAttr]

Attributes

Inherited from:
AttrParser
def ArrayAttributeP[$ : ParsingRun]: ParsingRun[ArrayAttribute[Attribute]]

Attributes

Inherited from:
AttrParser
def AttributeEntry[$ : ParsingRun]: ParsingRun[(String, Attribute)]

Attributes

Inherited from:
AttrParser
def AttributeValue[$ : ParsingRun]: ParsingRun[Attribute]

Attributes

Inherited from:
AttrParser
def BuiltIn[$ : ParsingRun]: ParsingRun[Attribute]

Attributes

Inherited from:
AttrParser
def DenseArrayAttributeP[$ : ParsingRun]: ParsingRun[DenseArrayAttr]

Attributes

Inherited from:
AttrParser
def DenseIntOrFPElementsAttrP[$ : ParsingRun]: ParsingRun[DenseIntOrFPElementsAttr]

Attributes

Inherited from:
AttrParser
def DialectAttribute[$ : ParsingRun]: ParsingRun[Attribute]

Attributes

Inherited from:
AttrParser
def DialectType[$ : ParsingRun]: ParsingRun[Attribute]

Attributes

Inherited from:
AttrParser
def Dimension[$ : ParsingRun]: ParsingRun[IntData]

Attributes

Inherited from:
AttrParser
def DimensionList[$ : ParsingRun]: ParsingRun[ArrayAttribute[IntData]]

Attributes

Inherited from:
AttrParser
def EmptyTensorLiteral[$ : ParsingRun]: ParsingRun[TensorLiteralArray]

Attributes

Inherited from:
AttrParser
def Encoding[$ : ParsingRun]: ParsingRun[Attribute]

Attributes

Inherited from:
AttrParser
def Float128TypeP[$ : ParsingRun]: ParsingRun[FloatType]

Attributes

Inherited from:
AttrParser
def Float16TypeP[$ : ParsingRun]: ParsingRun[FloatType]

Attributes

Inherited from:
AttrParser
def Float32TypeP[$ : ParsingRun]: ParsingRun[FloatType]

Attributes

Inherited from:
AttrParser
def Float64TypeP[$ : ParsingRun]: ParsingRun[FloatType]

Attributes

Inherited from:
AttrParser
def Float80TypeP[$ : ParsingRun]: ParsingRun[FloatType]

Attributes

Inherited from:
AttrParser
def FloatAttrP[$ : ParsingRun]: ParsingRun[FloatAttr]

Attributes

Inherited from:
AttrParser
def FloatDataP[$ : ParsingRun]: ParsingRun[FloatData]

Attributes

Inherited from:
AttrParser
def FloatTypeP[$ : ParsingRun]: ParsingRun[FloatType]

Attributes

Inherited from:
AttrParser
def FunctionType[$ : ParsingRun]: ParsingRun[(Seq[Attribute], Seq[Attribute])]

Attributes

Inherited from:
AttrParser
def FunctionTypeP[$ : ParsingRun]: ParsingRun[FunctionType]

Attributes

Inherited from:
AttrParser
def IndexTypeP[$ : ParsingRun]: ParsingRun[IndexType.type]

Attributes

Inherited from:
AttrParser
def IntDataP[$ : ParsingRun]: ParsingRun[IntData]

Attributes

Inherited from:
AttrParser
def IntegerAttrP[$ : ParsingRun]: ParsingRun[IntegerAttr]

Attributes

Inherited from:
AttrParser
def IntegerTypeP[$ : ParsingRun]: ParsingRun[IntegerType]

Attributes

Inherited from:
AttrParser
def MemrefTypeP[$ : ParsingRun]: ParsingRun[MemrefType]

Attributes

Inherited from:
AttrParser
def MultipleFloatTensorLiteral[$ : ParsingRun]: ParsingRun[ArrayAttribute[FloatAttr]]

Attributes

Inherited from:
AttrParser
def MultipleIntTensorLiteral[$ : ParsingRun]: ParsingRun[ArrayAttribute[IntegerAttr]]

Attributes

Inherited from:
AttrParser
def MultipleTensorLiteral[$ : ParsingRun]: ParsingRun[TensorLiteralArray]

Attributes

Inherited from:
AttrParser
def ParenTypeList[$ : ParsingRun]: ParsingRun[Seq[Attribute]]

Attributes

Inherited from:
AttrParser
def RankedMemrefTypeP[$ : ParsingRun]: ParsingRun[MemrefType]

Attributes

Inherited from:
AttrParser
def RankedTensorTypeP[$ : ParsingRun]: ParsingRun[TensorType]

Attributes

Inherited from:
AttrParser
def SignedIntegerTypeP[$ : ParsingRun]: ParsingRun[IntegerType]

Attributes

Inherited from:
AttrParser
def SignlessIntegerTypeP[$ : ParsingRun]: ParsingRun[IntegerType]

Attributes

Inherited from:
AttrParser
def SingleTensorLiteral[$ : ParsingRun]: ParsingRun[TensorLiteralArray]

Attributes

Inherited from:
AttrParser
def StringAttributeP[$ : ParsingRun]: ParsingRun[StringData]

Attributes

Inherited from:
AttrParser
def SymbolRefAttrP[$ : ParsingRun]: ParsingRun[SymbolRefAttr]

Attributes

Inherited from:
AttrParser
def TensorLiteral[$ : ParsingRun]: ParsingRun[TensorLiteralArray]

Attributes

Inherited from:
AttrParser
def TensorTypeP[$ : ParsingRun]: ParsingRun[TensorType]

Attributes

Inherited from:
AttrParser
def Type[$ : ParsingRun]: ParsingRun[Attribute]

Attributes

Inherited from:
AttrParser
def UnrankedMemrefTypeP[$ : ParsingRun]: ParsingRun[UnrankedMemrefType]

Attributes

Inherited from:
AttrParser
def UnrankedTensorTypeP[$ : ParsingRun]: ParsingRun[TensorType]

Attributes

Inherited from:
AttrParser
def UnsignedIntegerTypeP[$ : ParsingRun]: ParsingRun[IntegerType]

Attributes

Inherited from:
AttrParser
def VectorDimensionList[$ : ParsingRun]: ParsingRun[(Seq[IntData], Seq[IntData])]

Attributes

Inherited from:
AttrParser
def VectorTypeP[$ : ParsingRun]: ParsingRun[VectorType]

Attributes

Inherited from:
AttrParser

Concrete fields

val args: Args

Inherited fields

val ctx: MLContext

Attributes

Inherited from:
AttrParser

Implicits

Implicits

implicit val currentScope: Scope
implicit val whitespace: Whitespace