C# Class Paralect.Schematra.Lexer

Afficher le fichier Open project: paralect/Schematra

Méthodes publiques

Méthode Description
Build ( String filePaths ) : TypeContext
BuildParseTree ( String filePath ) : ParseTree

Build ParseTree from the file

GetQualifierByString ( String qualifier ) : FieldQualifier

Set qualifier by string

Private Methods

Méthode 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 méthode

public Build ( String filePaths ) : TypeContext
filePaths String
Résultat TypeContext

BuildParseTree() public méthode

Build ParseTree from the file
public BuildParseTree ( String filePath ) : ParseTree
filePath String
Résultat Irony.Parsing.ParseTree

GetQualifierByString() public méthode

Set qualifier by string
public GetQualifierByString ( String qualifier ) : FieldQualifier
qualifier String
Résultat FieldQualifier