C# 클래스 Antlr4.Runtime.AntlrFileStream

This is an ANTLRInputStream that is loaded from a file all at once when you construct the object.
This is an ANTLRInputStream that is loaded from a file all at once when you construct the object. This is a special case since we know the exact size of the object to load. We can avoid lots of data copying.
상속: AntlrInputStream
파일 보기 프로젝트 열기: antlr/antlr4 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
fileName string

공개 메소드들

메소드 설명
AntlrFileStream ( string fileName ) : Antlr4.Runtime.Sharpen
AntlrFileStream ( string fileName, System.Text.Encoding encoding ) : Antlr4.Runtime.Sharpen
Load ( string fileName, System.Text.Encoding encoding ) : void

비공개 메소드들

메소드 설명
ReadAllText ( string path ) : string
ReadAllText ( string path, System.Text.Encoding encoding ) : string

메소드 상세

AntlrFileStream() 공개 메소드

public AntlrFileStream ( string fileName ) : Antlr4.Runtime.Sharpen
fileName string
리턴 Antlr4.Runtime.Sharpen

AntlrFileStream() 공개 메소드

public AntlrFileStream ( string fileName, System.Text.Encoding encoding ) : Antlr4.Runtime.Sharpen
fileName string
encoding System.Text.Encoding
리턴 Antlr4.Runtime.Sharpen

Load() 공개 메소드

public Load ( string fileName, System.Text.Encoding encoding ) : void
fileName string
encoding System.Text.Encoding
리턴 void

프로퍼티 상세

fileName 보호되어 있는 프로퍼티

protected string fileName
리턴 string