C# Класс IronKonoha.KStatement

Наследование: ExprOrStmt
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
KStatement ( LineInfo line, KonohaSpace ks ) : System
ParseExpr ( Context ctx, Syntax syn, IList tls, int s, int c, int e ) : KonohaExpr
ParseStmt ( Context ctx, Syntax syn, Symbol name, IList tls, int s, int e ) : int
addAnnotation ( Context ctx, IList tls, int s, int e ) : int
addExprParams ( Context ctx, KonohaExpr expr, IList tls, int s, int e, bool allowEmpty ) : void
lookAheadKeyword ( IList tls, int s, int e, Token rule ) : int
matchSyntaxRule ( Context ctx, IList rules, LineInfo uline, IList tls, int s, int e, bool optional ) : int
newExpr2 ( Context ctx, IList tls, int s, int e ) : KonohaExpr
parseSyntaxRule ( Context ctx, IList tls, int s, int e ) : bool
toERR ( Context ctx, uint estart ) : void

Приватные методы

Метод Описание
findBinaryOp ( Context ctx, IList tls, int s, int e, Syntax &synRef ) : int
isUnaryOp ( Context ctx, Token tk ) : bool
skipUnaryOp ( Context ctx, IList tls, int s, int e ) : int

Описание методов

KStatement() публичный Метод

public KStatement ( LineInfo line, KonohaSpace ks ) : System
line LineInfo
ks KonohaSpace
Результат System

ParseExpr() публичный Метод

public ParseExpr ( Context ctx, Syntax syn, IList tls, int s, int c, int e ) : KonohaExpr
ctx Context
syn Syntax
tls IList
s int
c int
e int
Результат KonohaExpr

ParseStmt() публичный Метод

public ParseStmt ( Context ctx, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ctx Context
syn Syntax
name Symbol
tls IList
s int
e int
Результат int

addAnnotation() публичный Метод

public addAnnotation ( Context ctx, IList tls, int s, int e ) : int
ctx Context
tls IList
s int
e int
Результат int

addExprParams() публичный Метод

public addExprParams ( Context ctx, KonohaExpr expr, IList tls, int s, int e, bool allowEmpty ) : void
ctx Context
expr KonohaExpr
tls IList
s int
e int
allowEmpty bool
Результат void

lookAheadKeyword() публичный Метод

public lookAheadKeyword ( IList tls, int s, int e, Token rule ) : int
tls IList
s int
e int
rule Token
Результат int

matchSyntaxRule() публичный Метод

public matchSyntaxRule ( Context ctx, IList rules, LineInfo uline, IList tls, int s, int e, bool optional ) : int
ctx Context
rules IList
uline LineInfo
tls IList
s int
e int
optional bool
Результат int

newExpr2() публичный Метод

public newExpr2 ( Context ctx, IList tls, int s, int e ) : KonohaExpr
ctx Context
tls IList
s int
e int
Результат KonohaExpr

parseSyntaxRule() публичный Метод

public parseSyntaxRule ( Context ctx, IList tls, int s, int e ) : bool
ctx Context
tls IList
s int
e int
Результат bool

toERR() публичный Метод

public toERR ( Context ctx, uint estart ) : void
ctx Context
estart uint
Результат void