Exemplo n.º 1
0
 public TES5LocalVariable(string nameWithSuffix, TES5BasicType type, TES5LocalVariableParameterMeaning[] meanings = null)
     : base(nameWithSuffix, type)
 {
     if (meanings == null)
     {
         meanings = new TES5LocalVariableParameterMeaning[] { };
     }
     this.Meanings = meanings;
 }
Exemplo n.º 2
0
 public TES5SignatureParameter(string nameWithSuffix, TES5BasicType type, bool hasFixedDeclaration, TES5LocalVariableParameterMeaning[]?meanings = null)
 {
     Name                     = nameWithSuffix;
     TES5Type                 = type;
     declarationType          = type;
     this.hasFixedDeclaration = hasFixedDeclaration;
     if (meanings == null)
     {
         meanings = new TES5LocalVariableParameterMeaning[] { };
     }
     this.Meanings = meanings;
 }
 private void SetUpBranch(TES4CodeBlock block, TES5EventCodeBlock newBlock, TES5FunctionScope blockFunctionScope, TES5LocalVariableParameterMeaning variable, TES5GlobalScope globalScope, TES5MultipleScriptsScope multipleScriptsScope)
 {
     SetUpBranch(block, newBlock, blockFunctionScope, newBlock.CodeScope.LocalScope.GetVariableWithMeaning(variable), globalScope, multipleScriptsScope);
 }
 private TES5CodeScope SetUpBranch(TES4CodeBlock block, TES5CodeScope codeScope, TES5FunctionScope blockFunctionScope, TES5LocalVariableParameterMeaning meaning, TES5GlobalScope globalScope, TES5MultipleScriptsScope multipleScriptsScope)
 {
     return(SetUpBranch(block, codeScope, blockFunctionScope, codeScope.LocalScope.GetVariableWithMeaning(meaning), globalScope, multipleScriptsScope));
 }
Exemplo n.º 5
0
 public TES5SignatureParameter GetVariableWithMeaning(TES5LocalVariableParameterMeaning meaning)
 {
     return(this.FunctionScope.GetParameterByMeaning(meaning));
 }
Exemplo n.º 6
0
 public TES5SignatureParameter?TryGetFunctionParameterByMeaning(TES5LocalVariableParameterMeaning meaning)
 {
     return(this.FunctionScope.TryGetParameterByMeaning(meaning));
 }
Exemplo n.º 7
0
 public TES5SignatureParameter GetParameterByMeaning(TES5LocalVariableParameterMeaning meaning)
 {
     return(this.parametersByMeanings[meaning]);
 }
Exemplo n.º 8
0
 public TES5SignatureParameter?TryGetParameterByMeaning(TES5LocalVariableParameterMeaning meaning)
 {
     return(this.parametersByMeanings.GetWithFallbackNullable(meaning, () => null));
 }
Exemplo n.º 9
0
 public TES5LocalVariable GetVariableWithMeaning(TES5LocalVariableParameterMeaning meaning)
 {
     return(this.LocalScope.GetVariableWithMeaning(meaning));
 }
Exemplo n.º 10
0
 public TES5LocalVariable GetVariableWithMeaning(TES5LocalVariableParameterMeaning meaning)
 {
     return(this.variablesByMeanings.GetWithFallback(meaning, () => null));
 }