Esempio n. 1
0
 public ElifDirective(Context cx, ElifDirectiveTriviaSyntax trivia, IfDirective start, int index)
     : base(cx, trivia, populateFromBase: false)
 {
     this.start = start;
     this.index = index;
     TryPopulate();
 }
 public EndIfDirective(Context cx, EndIfDirectiveTriviaSyntax trivia, IfDirective start)
     : base(cx, trivia, populateFromBase: false)
 {
     this.start = start;
     TryPopulate();
 }
Esempio n. 3
0
 public static ElifDirective Create(Context cx, ElifDirectiveTriviaSyntax elif, IfDirective start, int index) =>
 ElifDirectiveFactory.Instance.CreateEntity(cx, elif, (elif, start, index));
Esempio n. 4
0
 private ElifDirective(Context cx, ElifDirectiveTriviaSyntax trivia, IfDirective start, int index)
     : base(cx, trivia)
 {
     this.start = start;
     this.index = index;
 }
Esempio n. 5
0
 private EndIfDirective(Context cx, EndIfDirectiveTriviaSyntax trivia, IfDirective start)
     : base(cx, trivia)
 {
     this.start = start;
 }
Esempio n. 6
0
 public static EndIfDirective Create(Context cx, EndIfDirectiveTriviaSyntax endif, IfDirective start) =>
 EndIfDirectiveFactory.Instance.CreateEntity(cx, endif, (endif, start));
Esempio n. 7
0
 public static ElseDirective Create(Context cx, ElseDirectiveTriviaSyntax @else, IfDirective start, int index) =>
 ElseDirectiveFactory.Instance.CreateEntity(cx, @else, (@else, start, index));