Exemplo n.º 1
0
 public SurfacePattern(Token[] prevContext, PatternToken token, Token[] nextContext, SurfacePatternFactory.Genre genre)
     : base(PatternFactory.PatternType.Surface)
 {
     this.SetPrevContext(prevContext);
     this.SetNextContext(nextContext);
     this.SetToken(token);
     this.genre = genre;
     hashcode   = ToString().GetHashCode();
 }
Exemplo n.º 2
0
 public virtual void SetGenre(SurfacePatternFactory.Genre genre)
 {
     this.genre = genre;
 }