Exemplo n.º 1
0
 public static String getName(X816SymbolAffectation element) {
   ASTNode symbol = element.getNode().findChildByType(X816Types.SYMBOL);
   if (symbol != null) {
     return symbol.getText();
   }
   return null;
 }
Exemplo n.º 2
0
 public static PsiElement getNameIdentifier(X816SymbolAffectation element) {
   ASTNode keyNode = element.getNode().findChildByType(X816Types.SYMBOL);
   if (keyNode != null) {
     return keyNode.getPsi();
   } else {
     return null;
   }
 }