C# Class Paralect.Schematra.Lexer

Mostrar archivo Open project: paralect/Schematra

Public Methods

Method Description
Build ( String filePaths ) : TypeContext
BuildParseTree ( String filePath ) : ParseTree

Build ParseTree from the file

GetQualifierByString ( String qualifier ) : FieldQualifier

Set qualifier by string

Private Methods

Method Description
BuildErrorMessage ( String message, String filePath, Int32 line, Int32 column ) : String

Builds error message that explains error and shows position in file with this error

BuildParseTree ( String source, String filePath ) : ParseTree

Build Parse tree from the String

ParseDef ( ParseTreeNode node, Context context, string space ) : void
ParseDefs ( ParseTreeNode node, Context context, string space ) : void
ParseField ( ParseTreeNode node, Context context, RecordTypeBuilder recordBuilder ) : void

Parsing of field nonterm

ParseNamespaceDef ( ParseTreeNode node, Context context, string space ) : void
ParseSchemaDef ( ParseTreeNode node, Context context, string space ) : void
ParseSchemaDefBody ( ParseTreeNode node, Context context, RecordTypeBuilder recordBuilder ) : void
ParseSchemaDefExtendsOption ( ParseTreeNode node, Context context, RecordTypeBuilder recordBuilder ) : void
ParseSchemaDefOption ( ParseTreeNode node, Context context, RecordTypeBuilder recordBuilder ) : void
ParseSchemaDefOptions ( ParseTreeNode node, Context context, RecordTypeBuilder recordBuilder ) : void
ParseSchemaDefTaggedOption ( ParseTreeNode node, RecordTypeBuilder recordBuilder ) : void
ParseUnit ( ParseTree tree, Context context ) : void
ParseUsingDef ( ParseTreeNode node, Context context ) : void
ParseUsingDefs ( ParseTreeNode node, Context context ) : void

Method Details

Build() public method

public Build ( String filePaths ) : TypeContext
filePaths String
return TypeContext

BuildParseTree() public method

Build ParseTree from the file
public BuildParseTree ( String filePath ) : ParseTree
filePath String
return Irony.Parsing.ParseTree

GetQualifierByString() public method

Set qualifier by string
public GetQualifierByString ( String qualifier ) : FieldQualifier
qualifier String
return FieldQualifier