C# Class MoonSharp.Interpreter.Tree.NodeBase

Exibir arquivo Open project: jessefreeman/UnityRunner

Public Methods

Method Description
Compile ( ByteCode bc ) : void
NodeBase ( ScriptLoadingContext lcontext ) : MoonSharp.Interpreter.Execution

Protected Methods

Method Description
CheckMatch ( ScriptLoadingContext lcontext, MoonSharp.Interpreter.Tree.Token originalToken, TokenType expectedTokenType, string expectedTokenText ) : MoonSharp.Interpreter.Tree.Token
CheckTokenType ( ScriptLoadingContext lcontext, TokenType tokenType ) : MoonSharp.Interpreter.Tree.Token
CheckTokenType ( ScriptLoadingContext lcontext, TokenType tokenType1, TokenType tokenType2 ) : MoonSharp.Interpreter.Tree.Token
CheckTokenType ( ScriptLoadingContext lcontext, TokenType tokenType1, TokenType tokenType2, TokenType tokenType3 ) : MoonSharp.Interpreter.Tree.Token
CheckTokenTypeNotNext ( ScriptLoadingContext lcontext, TokenType tokenType ) : void
UnexpectedTokenType ( Token t ) : Token

Method Details

CheckMatch() protected static method

protected static CheckMatch ( ScriptLoadingContext lcontext, MoonSharp.Interpreter.Tree.Token originalToken, TokenType expectedTokenType, string expectedTokenText ) : MoonSharp.Interpreter.Tree.Token
lcontext ScriptLoadingContext
originalToken MoonSharp.Interpreter.Tree.Token
expectedTokenType TokenType
expectedTokenText string
return MoonSharp.Interpreter.Tree.Token

CheckTokenType() protected static method

protected static CheckTokenType ( ScriptLoadingContext lcontext, TokenType tokenType ) : MoonSharp.Interpreter.Tree.Token
lcontext ScriptLoadingContext
tokenType TokenType
return MoonSharp.Interpreter.Tree.Token

CheckTokenType() protected static method

protected static CheckTokenType ( ScriptLoadingContext lcontext, TokenType tokenType1, TokenType tokenType2 ) : MoonSharp.Interpreter.Tree.Token
lcontext ScriptLoadingContext
tokenType1 TokenType
tokenType2 TokenType
return MoonSharp.Interpreter.Tree.Token

CheckTokenType() protected static method

protected static CheckTokenType ( ScriptLoadingContext lcontext, TokenType tokenType1, TokenType tokenType2, TokenType tokenType3 ) : MoonSharp.Interpreter.Tree.Token
lcontext ScriptLoadingContext
tokenType1 TokenType
tokenType2 TokenType
tokenType3 TokenType
return MoonSharp.Interpreter.Tree.Token

CheckTokenTypeNotNext() protected static method

protected static CheckTokenTypeNotNext ( ScriptLoadingContext lcontext, TokenType tokenType ) : void
lcontext ScriptLoadingContext
tokenType TokenType
return void

Compile() public abstract method

public abstract Compile ( ByteCode bc ) : void
bc ByteCode
return void

NodeBase() public method

public NodeBase ( ScriptLoadingContext lcontext ) : MoonSharp.Interpreter.Execution
lcontext ScriptLoadingContext
return MoonSharp.Interpreter.Execution

UnexpectedTokenType() protected static method

protected static UnexpectedTokenType ( Token t ) : Token
t Token
return Token