C# Class IronKonoha.KonohaSpace

Inheritance: KObject
Exibir arquivo Open project: tetsurom/ikonoha Class Usage Examples

Public Methods

Method Description
Eval ( string script ) : dynamic
ExprTyCheck_Expr ( KStatement stmt, Syntax syn, KGamma gma ) : void
ExprTyCheck_Float ( KStatement stmt, Syntax syn, KGamma gma ) : void
ExprTyCheck_Int ( KStatement stmt, Syntax syn, KGamma gma ) : void
ExprTyCheck_Text ( KStatement stmt, Syntax syn, KGamma gma ) : void
KonohaSpace ( Context ctx ) : System
KonohaSpace ( Context ctx, int child ) : System
ParseStmt_Expr ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ParseStmt_Symbol ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ParseStmt_Type ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ParseStmt_Usymbol ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
SYN_setExprTyCheck ( KeywordType ks, StmtTyChecker checker ) : void
SYN_setStmtTyCheck ( KeywordType ks, StmtTyChecker checker ) : void
SYN_setTopStmtTyCheck ( KeywordType ks, StmtTyChecker checker ) : void
TopStmtTyCheck_Expr ( KStatement stmt, Syntax syn, KGamma gma ) : void
defineSyntax ( KDEFINE_SYNTAX syndefs ) : void
parseSyntaxRule ( string rule, LineInfo pline, List &adst ) : void
tokenize ( string script ) : IList

Private Methods

Method Description
ExprTyCheck_Block ( KStatement stmt, Syntax syn, KGamma gma ) : void
ExprTyCheck_MethodCall ( KStatement stmt, Syntax syn, KGamma gma ) : void
GetSyntax ( KeywordType keyword ) : Syntax
GetSyntax ( KeywordType keyword, bool isnew ) : Syntax
GetSyntaxRule ( IList tls, int s, int e ) : Syntax
ParseExpr_Dot ( Context ctx, Syntax syn, KStatement stmt, IList tls, int s, int c, int e ) : KonohaExpr
ParseExpr_Parenthesis ( Context ctx, Syntax syn, KStatement stmt, IList tls, int s, int c, int e ) : KonohaExpr
ParseStmt_Block ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ParseStmt_Params ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tokens, int s, int e ) : int
ParseStmt_Toks ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
TopStmtTyCheck_ParamsDecl ( KStatement stmt, Syntax syn, KGamma gma ) : void
checkNestedSyntax ( IList tls, int &s, int e, TokenType tt, char opench, char closech ) : bool
defineDefaultSyntax ( ) : void
findTopCh ( IList tls, int s, int e, TokenType tt, char closech ) : int
isFieldName ( IList tls, int c, int e ) : bool
makeSyntaxRule ( IList tls, int s, int e, List &adst ) : bool

Method Details

Eval() public method

public Eval ( string script ) : dynamic
script string
return dynamic

ExprTyCheck_Expr() public static method

public static ExprTyCheck_Expr ( KStatement stmt, Syntax syn, KGamma gma ) : void
stmt KStatement
syn Syntax
gma KGamma
return void

ExprTyCheck_Float() public static method

public static ExprTyCheck_Float ( KStatement stmt, Syntax syn, KGamma gma ) : void
stmt KStatement
syn Syntax
gma KGamma
return void

ExprTyCheck_Int() public static method

public static ExprTyCheck_Int ( KStatement stmt, Syntax syn, KGamma gma ) : void
stmt KStatement
syn Syntax
gma KGamma
return void

ExprTyCheck_Text() public static method

public static ExprTyCheck_Text ( KStatement stmt, Syntax syn, KGamma gma ) : void
stmt KStatement
syn Syntax
gma KGamma
return void

KonohaSpace() public method

public KonohaSpace ( Context ctx ) : System
ctx Context
return System

KonohaSpace() public method

public KonohaSpace ( Context ctx, int child ) : System
ctx Context
child int
return System

ParseStmt_Expr() public static method

public static ParseStmt_Expr ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ctx Context
stmt KStatement
syn Syntax
name Symbol
tls IList
s int
e int
return int

ParseStmt_Symbol() public static method

public static ParseStmt_Symbol ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ctx Context
stmt KStatement
syn Syntax
name Symbol
tls IList
s int
e int
return int

ParseStmt_Type() public static method

public static ParseStmt_Type ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ctx Context
stmt KStatement
syn Syntax
name Symbol
tls IList
s int
e int
return int

ParseStmt_Usymbol() public static method

public static ParseStmt_Usymbol ( Context ctx, KStatement stmt, Syntax syn, Symbol name, IList tls, int s, int e ) : int
ctx Context
stmt KStatement
syn Syntax
name Symbol
tls IList
s int
e int
return int

SYN_setExprTyCheck() public method

public SYN_setExprTyCheck ( KeywordType ks, StmtTyChecker checker ) : void
ks KeywordType
checker StmtTyChecker
return void

SYN_setStmtTyCheck() public method

public SYN_setStmtTyCheck ( KeywordType ks, StmtTyChecker checker ) : void
ks KeywordType
checker StmtTyChecker
return void

SYN_setTopStmtTyCheck() public method

public SYN_setTopStmtTyCheck ( KeywordType ks, StmtTyChecker checker ) : void
ks KeywordType
checker StmtTyChecker
return void

TopStmtTyCheck_Expr() public static method

public static TopStmtTyCheck_Expr ( KStatement stmt, Syntax syn, KGamma gma ) : void
stmt KStatement
syn Syntax
gma KGamma
return void

defineSyntax() public method

public defineSyntax ( KDEFINE_SYNTAX syndefs ) : void
syndefs KDEFINE_SYNTAX
return void

parseSyntaxRule() public method

public parseSyntaxRule ( string rule, LineInfo pline, List &adst ) : void
rule string
pline LineInfo
adst List
return void

tokenize() public method

public tokenize ( string script ) : IList
script string
return IList