예제 #1
0
        public QualifiedNameSyntax ConsumeQualifiedName(NameSyntax left)
        {
            var period = ConsumeToken();
            var id2 = new IdentifierNameSyntax(ConsumeToken());
            var qual = new QualifiedNameSyntax(left, period, id2);
            if (AtDot())
            {
            return ConsumeQualifiedName(qual);
            }

            return qual;
        }
예제 #2
0
파일: Syntax.cs 프로젝트: jpobst/Mokii
 public static QualifiedNameSyntax QualifiedName(NameSyntax left, SyntaxToken dotToken, SimpleNameSyntax right)
 {
     return new QualifiedNameSyntax (left, dotToken, right);
 }