Пример #1
0
 public TokenAttribute(string value, AstSymbolType symbol, AstConstructorCallType callType = 0, ParameterModifier pm = 0)
 {
     Value               = value;
     SymbolType          = symbol;
     ConstructorCallType = callType;
     ParameterModifier   = pm;
 }
Пример #2
0
 public AstConstructor(Source src, string comment, IReadOnlyList <AstAttribute> attributes, Modifiers modifiers, string cond, IReadOnlyList <AstParameter> paramList,
                       AstConstructorCallType callType = 0, IReadOnlyList <AstArgument> callArgs = null, AstScope body = null)
     : base(comment, attributes, modifiers, cond)
 {
     Source        = src;
     CallType      = callType;
     CallArguments = callArgs;
     Parameters    = paramList;
     OptionalBody  = body;
 }