private void SetUp(OpFunction op, SpirvInstructionTreeBuilder treeBuilder) { ResultType = treeBuilder.ResolveType(op.IdResultType); FunctionControl = op.FunctionControl; FunctionType = treeBuilder.ResolveType(op.FunctionType); SetUpDecorations(op, treeBuilder); }
public Operator(string token, OpFunction function, int arguments, Precedence precedence, bool leftAssociative = true) { Token = token; Function = function; Arguments = arguments; Precedence = precedence; LeftAssociative = leftAssociative; }
public FunctionNode(OpFunction function) { Function = function; }