C# 클래스 ShaderTools.Hlsl.Syntax.SyntaxFactory

파일 보기 프로젝트 열기: tgjones/HlslTools

공개 메소드들

메소드 설명
ParseAllTokens ( SourceText sourceText, IIncludeFileSystem fileSystem = null ) : IReadOnlyList
ParseCompilationUnit ( string text, IIncludeFileSystem fileSystem = null ) : CompilationUnitSyntax
ParseExpression ( string text ) : SyntaxTree
ParseStatement ( string text ) : StatementSyntax
ParseSyntaxTree ( SourceText sourceText, ParserOptions options = null, IIncludeFileSystem fileSystem = null, CancellationToken cancellationToken = default(CancellationToken) ) : SyntaxTree
ParseToken ( string text ) : SyntaxToken

비공개 메소드들

메소드 설명
Parse ( SourceText sourceText, ParserOptions options, IIncludeFileSystem fileSystem, SyntaxNode>.Func parseFunc ) : SyntaxTree

메소드 상세

ParseAllTokens() 공개 정적인 메소드

public static ParseAllTokens ( SourceText sourceText, IIncludeFileSystem fileSystem = null ) : IReadOnlyList
sourceText ShaderTools.Core.Text.SourceText
fileSystem IIncludeFileSystem
리턴 IReadOnlyList

ParseCompilationUnit() 공개 정적인 메소드

public static ParseCompilationUnit ( string text, IIncludeFileSystem fileSystem = null ) : CompilationUnitSyntax
text string
fileSystem IIncludeFileSystem
리턴 CompilationUnitSyntax

ParseExpression() 공개 정적인 메소드

public static ParseExpression ( string text ) : SyntaxTree
text string
리턴 SyntaxTree

ParseStatement() 공개 정적인 메소드

public static ParseStatement ( string text ) : StatementSyntax
text string
리턴 StatementSyntax

ParseSyntaxTree() 공개 정적인 메소드

public static ParseSyntaxTree ( SourceText sourceText, ParserOptions options = null, IIncludeFileSystem fileSystem = null, CancellationToken cancellationToken = default(CancellationToken) ) : SyntaxTree
sourceText ShaderTools.Core.Text.SourceText
options ShaderTools.Hlsl.Parser.ParserOptions
fileSystem IIncludeFileSystem
cancellationToken System.Threading.CancellationToken
리턴 SyntaxTree

ParseToken() 공개 정적인 메소드

public static ParseToken ( string text ) : SyntaxToken
text string
리턴 SyntaxToken